lukasschwab / arxiv.py

Python wrapper for the arXiv API
MIT License
1.11k stars 123 forks source link

Use HTTPS in API Endpoint #128

Closed joelbarmettlerUZH closed 1 year ago

joelbarmettlerUZH commented 1 year ago

Description

After investigating why I never get search results using arxiv.py, I eventually found out that the ArXiv http endpoint (without SSL) simply does not return any data. I am unsure whether this is a recent change in the ArXiv API or a issue specific to my computer (I am running Pop_OS!).

However, changing the API Endpoint from http to https seems to be a fairly simple and effective solution.

Breaking changes

None

Relevant issues

None

Checklist

lukasschwab commented 1 year ago

Hi @joelbarmettlerUZH — this is one of several changes I've investigated as part of #127. Sometimes it seems only HTTP works; sometimes it seems only HTTPS works. See e.g. this comment and this commit: d4c594f.

I think the arXiv API is behaving unstably, . It's a little hard for me to gauge when I should update this package to adapt to that instability.

I'll send a note to the API mailing list.