Skip to content

Possibility of writing a file name without any path in g field? #28

@ldko

Description

@ldko

If you instantiate a CDX_Writer with a file argument that contains a relative or absolute path and you use the default of use_full_path=False and file_prefix=None the g field is written with the relative or absolute path as given in file. Is that the intended behavior or is it meant to write the file name only as you would get with something like self.warc_path = os.path.basename(file)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions