Feed long list of document URL

Is it possible to import a list of URLs for PDF's and have Zotero add them to a library and harvest the document and metadata?

Thanks, Rich
  • See this thread for a discussion and some example scripts, but note that it's not really an intended workflow.
  • edited January 29, 2022
    Hello dstilllman,

    Thanks for sharing the link to the Javascript code. While trying to implement the script I have run into a snag I am not quite sure how to fix.

    I copied the "first code block" from the thread you linked me to above. I then adjusted the path to the location of the file. I believe I have it correct as I first encountered an invalid path error much like the other folks who had path issues.

    var path = 'C:\\Users\\me\\Desktop\\test.txt';


    That was cleared and now I am getting a TypeError: doc is null message,

    I have one URL in the test.txt file

    https://apps.who.int/iris/bitstream/handle/10665/42393/9241530278.pdf

    the file is /n (new line) delimited ( I am using notepad++) UTF8


    Do you have any suggestions?

    Thanks, Rich
  • edited January 29, 2022
    Sorry, I missed that you said these were PDF URLs.

    If you’re downloading PDFs, you should just script the download outside of Zotero and drag the downloaded PDFs in for metadata retrieval. Zotero could technically do it but it’s much easier to do externally.
  • Of course...I'm all set. I am already downloading in bulk but thought I might be able to streamline the process somewhat. I appreciate the reply on a weekend!

    Be well!
Sign In or Register to comment.