You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YouTube API is old. So the source code which is related to YouTube API doesn't work (youtube.py and youtube2.py).
intro/youtube2.py
import requests
url = "https://gdata.youtube.com/feeds/api/standardfeeds/top_rated?alt=json"
response = requests.get(url)
data = response.json()
for video in data['feed']['entry'][0:6]:
print(video['title']['$t'])
The text was updated successfully, but these errors were encountered:
YouTube API is old. So the source code which is related to YouTube API doesn't work (youtube.py and youtube2.py).
The text was updated successfully, but these errors were encountered: