/bib-online-archiver

Takes URLs of Online sources in a .bib-File and generates .pdf-Files of them

Primary LanguagePythonMIT LicenseMIT

bib-online-archiver

Code style: blacksecurity: bandit

Takes URLs of Online sources in a .bib-file and generates .pdf-files of them using wkhtmltopdf. Filename of the .pdf-file will be the key of the bib-entry.

Prerequisites

wkhtmltopdf needs to be installed.

Usage

pipenv run python main.py my_sources.bib

Default output path is the current directory, may be changed with --outputdir /my/directory. Files that already exist in the target folder will not be overwritten. Use the argument --overwrite to overwrite existing files.

By default only bib entries of type Online will be parsed. If you want to parse all types, use the argument --alltypes.

Development

pipenv install --dev

Lauch config for VSCode is present, defaults to quellen.bib as a test sourcefile (provide your own).