You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library pypdf is now used (instead of PyPdf2) to add new metadata to the pdf files (see also fix below). Since PyPdf2 is now deprecated, in the next version of pdf2doi we will progressively replace all tasks performed by PyPdf2 by pypdf
Added
Make sure that the input variable target is converted to a string before processing #27
Fixed
Fixed a bug related to the storing of the DOI into the metadata of the pdf files. Due to some quirks of the library PyPdf2, the size of the pdf file would double after adding the metadata. In this new version, adding metadata to a pdf file is now performed via the library pypdf (Thanks Ole Steuernagel for pointing out this issue).