-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fixes Issue #215 #316
Fixes Issue #215 #316
Conversation
Published to http://pyar.github.io/PyZombis/316/index.html |
_sources/lectures/TWP45/TWP45_2.rst
Outdated
@@ -17,7 +17,7 @@ En este ejercicio vamos a acceder a Reddit para obetener datos como los de la si | |||
import json | |||
|
|||
# La url de Reddit a la que accederemos | |||
url = "https://cors.bridged.cc/http://www.reddit.com/r/Python/.json" | |||
url = "https://api.allorigins.win/raw?url=http://www.reddit.com/r/Python/.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CORS error still exists
@@ -17,7 +17,7 @@ In this exercise we are going to access Reddit to obtain data like the one in th | |||
import json | |||
|
|||
# The Reddit URL we'll access | |||
url = "https://cors.bridged.cc/http://www.reddit.com/r/Python/.json" | |||
url = "https://api.allorigins.win/raw?url=http://www.reddit.com/r/Python/.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CORS error still exits and lecture not working
_sources/lectures/TWP45/TWP45_3.rst
Outdated
import json | ||
|
||
api_url = "https://tastedive.com/api/similar" | ||
proxy = "https://cors.bridged.cc/" | ||
proxy = "https://api.allorigins.win/raw?url=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CORS still not working
_sources/lectures/TWP45/TWP45_3.rst
Outdated
@@ -62,7 +68,8 @@ se transforma a un diccionario de Python. Sin embargo, no es del todo legible. E | |||
import json | |||
|
|||
api_url = "https://tastedive.com/api/similar?" | |||
proxy = "https://cors.bridged.cc/" | |||
proxy = "https://api.allorigins.win/raw?url=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too, CORS
Hey, Thanks for the review @sujith-rek, the reddit api error has been fixed. Whereas the API for TasteDive is broken & can not be fixed , https://tastedive.com/api/similar?q=red+hot+chili+peppers%2C+pulp+fiction , you can see it here (this link was taken from TasteDive API Documentation. You can see it here https://tastedive.com/read/api) |
Published to http://pyar.github.io/PyZombis/316/index.html |
see if you merge main into this branch to restore the original polls |
Summary
Closes Issue #215 . Also fixes links as referred #213 & #214 but the APIs used in these sections of lecture TWP45 are broken & are showing external error.
Checklist
Screenshots