Is it possible to add an item by passing DOI info from command line?

Context: I use qutebrowser and no connector technology is available. I've already programmed a (very simple) userscript to capture the DOI of a given page. I would love to be able to pass that DOI to Zotero to add the item to my library.

I've recently discovered zotadd (https://github.com/sdx23/zotadd) which is a simple (and very hacky) script to add pdf files to the library of a locally running Zotero instance via commandline.

Basically what it does (if I'm not mistaken) is it serves a given PDF in a local webpage and then uses the connector saveSnapshot method to capture that.

I was wondering if there's a way (using the connector) to add an item by passing the DOI instead of the document itself. Thanks in advance for all your help!

[Note that this question is not about zotadd, I'm just using zotadd here as an example of what can be done from a (python) script using the connector push.]

Sign In or Register to comment.