You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I get a StopIteration error immediately after calling next on a search query which contains a DOI. The same code has been working for many months, but stopped working suddenly. It appears that scholarly fails to find (or parse?) the document. The DOI used seems negligible (I have tried several others and all yield the same behavior).
kostrykin
changed the title
StopIteration on search query (was working a month ago)
StopIteration on search query with DOI (was working a month ago)
Aug 1, 2023
Probably the same as #508 . Google Scholar have a new class in the UI for when there is a single result. I posted a simple patch while waiting for better fix.
Describe the bug
I get a
StopIteration
error immediately after callingnext
on a search query which contains a DOI. The same code has been working for many months, but stopped working suddenly. It appears that scholarly fails to find (or parse?) the document. The DOI used seems negligible (I have tried several others and all yield the same behavior).To Reproduce
Expected behavior
The code should run through without errors being raised (and a
0
should be printed).Desktop (please complete the following information):
Do you plan on contributing?
Your response below will clarify whether the maintainers can expect you to fix the bug you reported.
Additional context
I have tried this with scholarly 1.7.9 and 1.7.11, installed via pip.
The text was updated successfully, but these errors were encountered: