CLI: better control of output file names

Author: DesBwCreated Nov 30, 2024Updated Dec 5, 2024
Labelsenhancement

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.".