Skip to content

Instantly share code, notes, and snippets.

View anjiro's full-sized avatar

Daniel Ashbrook anjiro

View GitHub Profile
@anjiro
anjiro / Papers3_to_Zotero.py
Created October 4, 2019 13:31 — forked from daeh/Papers3_to_Zotero.py
Script to facilitate the import of a Readcube Papers 3 library into Zotero
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This script takes as input a BibTeX library exported from readcube/mekentosj Papers3 and outputs a BibTex library for Zotero to import.
The script preserves your Papers citekeys, adds supplementary files from the Papers3 Library, removes duplicate links to PDFs and removes extraneous *.html and *.webarchive files that are often created by importing articles into Paper from a web browser.
__Instructions for use__:
* Make sure to have Better BibTeX pre-installed to Zotero if you want to preserve the Papers citekeys.