Created
          August 18, 2019 20:01 
        
      - 
      
- 
        Save umar-ahmed/b380f9af850c58e9b3e356fb61ec6d89 to your computer and use it in GitHub Desktop. 
Revisions
- 
        umar-ahmed created this gist Aug 18, 2019 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ import requests import json url = 'https://gist.github.com/umar-ahmed/9feac2a7b28b2843f880012c97e0c564/raw/e147f3476d02c658dbfdec4175f6c67398e55285/youtube' response = requests.get(url) print(response.status_code) content = response.text data = json.loads(content) length = len(data) print(length) for i in range(length): title = data[i]["snippet"]["title"] print(title)