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,
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!
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
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.
Be well!