Skip to content

Fix bad 404 received from Imgur #22

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

Merged
merged 2 commits into from
Feb 5, 2017
Merged

Fix bad 404 received from Imgur #22

merged 2 commits into from
Feb 5, 2017

Conversation

j0k3r
Copy link
Owner

@j0k3r j0k3r commented Feb 5, 2017

Looks like Imgur now return the default 404 (in HTML format) instead of JSON structured response when it does not find an album or an image.
So I used a different method to determine a bad exception from them, using the status code instead of the exception name.

Looks like Imgur now return the default 404 (in HTML format) instead of JSON structured response when it does not find an album or an image.
So I used a different method to determine a bad exception from them, using the status code instead of the exception name.
@j0k3r j0k3r added the bug label Feb 5, 2017
@j0k3r j0k3r merged commit 9b657f6 into 3.x Feb 5, 2017
@j0k3r j0k3r deleted the 3-bad-imgur-404 branch February 5, 2017 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant