Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import json, urllib2
- ytUrl = 'http://pastebin.com/raw.php?i=SQbqHMaE'
- req = urllib2.urlopen(ytUrl)
- data = json.load(req)
- title = data["items"][0]["snippet"]["title"].encode('utf-8')
- print test2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement