MicheleCotrufo / pdf2bib

A python library/command-line tool to quickly and automatically generate BibTeX data starting from the pdf file of a scientific publication.
60 stars 9 forks source link

Get the metadata present in the file if the DOI method fails #10

Open luarpy opened 1 year ago

luarpy commented 1 year ago

Would it be possible to integrate a code to at least get the metadata present in the file in case the DOI fails? There is often information present such as author, title, creation date, etc. that could be useful to at least generate a more simplified but equally valid bibtex object.

Moreover, an option could be added to directly use this method instead of having to wait for internet requests to speed up the process.

MicheleCotrufo commented 5 months ago

It's certainly possible. Not sure I have time to work on it but feel free to PR!