MicheleCotrufo / pdf2bib

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

Update main.py #16

Closed Jdogzz closed 2 months ago

Jdogzz commented 3 months ago

Add conversion to ensure path is a string. Fixes #15.

Jdogzz commented 3 months ago

Also fixes #11 by brute-force stripping of the unwanted characters.

MicheleCotrufo commented 2 months ago

Thanks! I will approve the PR and release a new version on pypi soon!