Skip to content

CLI: better control of output file names #754

Description

@DesBw

It would have been great if there is a way to name the output files by the url address where they are extracted.
This is useful to manually check faulty texts.
A feature like this:

trafilatura --input-file links.txt --output-dir converted --name-from-url

The file generated from "www.example.com/page3" would be named "www.example.com_page3.txt.".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions