-
Notifications
You must be signed in to change notification settings - Fork 12
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
[BUG]: 'arxiv' search result is unexpectedly empty #56
Comments
Or we might inherit the resp = self._session.get(url, headers={"user-agent": "arxiv.py/2.1.0"}) to pretend to be a browser. |
nice finding @timsanders256 ! Can we add a pytest function to test get_data and make sure it can alwasy return something? |
Yes, that would be a great idea. |
Could you create a PR for this issue? @timsanders256 |
I feel weird. Did you test it locally? Network issues? (vpn) That didn't happen on my side of the test. In addition, we may not call this function too often in real usage. |
This issue would be fixed once #59 is fixed. |
arxiv only calls once now. abort this issue. |
Description of the bug
data = kb.get_data(10, "Machine Learning")
sometimes returns a empty dictionary. After testing thearxiv
module I found that when requesting frequently, it would return a empty search result. The reason might be found at issue #129 ofarxiv
:So it should not be our problem.
Steps To Reproduce
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: