Skip to content

v1.6

Compare
Choose a tag to compare
@MicheleCotrufo MicheleCotrufo released this 18 Jun 15:23
· 11 commits to master since this release

Main changes

  • 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).