-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOI: Better handling of pages with many DOIs #3311
Comments
In my estimation this |
Yep, looks like it. So for starters we probably want to add a try/catch there that just logs the error and continues on, which seems like it was the intended behavior previously ( |
PR opened for the try-catch. The translator only makes 5-10 requests per second for me. Not sure about content negotiation, but Crossref's current API rate limit ( |
I'll finish up the PubFactory translator and get that merged. |
Merged #3009. (EM already handled PubFactory article pages fine, though - we barely make any adjustments in the PubFactory translator. Not sure why the person who reported this on the forums was only getting DOI detection.) |
For https://journals.ametsoc.org/view/journals/phoc/53/1/JPO-D-22-0001.1.xml ? I'm not getting EM there. Works now with PubFactory, though. |
Oh wait, maybe this is MV3 breakage. I'm not getting EM in Chrome MV3. Shows up in Firefox and Edge. |
Firefox:
Chrome MV3:
|
https://forums.zotero.org/discussion/114892/zotero-connector-not-saving
https://journals.ametsoc.org/view/journals/phoc/53/1/JPO-D-22-0001.1.xml
The translator finds 84 DOIs on this page, and then proceeds to download data for all of them in rapid succession, and then one returns a 404 and that seems to fail the whole process.
We should 1) maybe put a more reasonable limit on the number of DOIs we try to get data for, 2) check Crossref's guidance for rate-limiting and see if we're within it (though it may be hard to find guidance on content negotiation specifically rather than the API), 3) check if the connector/translate is failing incorrectly if lookup for a single DOI on the page fails (@adomasven), and 4) merge #3009 if it adds a translator for this page.
The text was updated successfully, but these errors were encountered: