metebalci / pdftitle

a utility to extract the title from a PDF file
GNU General Public License v3.0
131 stars 21 forks source link

[ENH] Avoids renaming files with journal names #14

Closed eurunuela closed 3 years ago

eurunuela commented 4 years ago

This PR introduces minimum changes to the code to avoid naming the PDF files with journal names. In order to do that, a list of PubMed journals has been introduced into the package as a txt file.

metebalci commented 4 years ago

Hello. This is a good idea but I think it is better to implement this as an optional and configurable feature using a command-line flag and taking a filename which contains ignored titles in every line, so if the title found is in this ignore list, it can restart the search.