Skip to content
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

OEIS adapter broken #376

Open
WhistlingZephyr opened this issue Feb 27, 2023 · 4 comments
Open

OEIS adapter broken #376

WhistlingZephyr opened this issue Feb 27, 2023 · 4 comments

Comments

@WhistlingZephyr
Copy link

WhistlingZephyr commented Feb 27, 2023

Hello!

curl cheat.sh/oeis

gives

curl cheat.sh/oeis/1+1+1+1

as an example, but executing that results in

/* [https://oeis.org/search?q=signed:1,1,1,1] */

Similar happens to all OEIS queries. I looked at OEIS and found that they have a JSON API available through &fmt=json. However, looking at the code of cheat.sh's OEIS adapter, it appears to be using &fmt=text and &fmt=short. While the former works (example), the latter seems to just open the HTML page currently (example).

I found that in a tweet @ErezBinyamin mentioned that they were working on a Python version of the adapter in way back in Jan 11, 2021. However, I couldn't find any more updates on that. #187 seems to still be open but there have been no updates since Oct 27, 2020.

I'd really appreciate if the issue could get addressed and have the adapter start working again. Thanks!

@EdwardBetts
Copy link
Contributor

Not my tweet.

@WhistlingZephyr
Copy link
Author

Not my tweet.

Oh, I apologize. I ended up pinging you by mistake. Edited.

@ErezBinyamin
Copy link
Collaborator

@ErezBinyamin
Copy link
Collaborator

@chubin would you prefer a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants