Update youtube.py
This commit is contained in:
parent
f5e4b67777
commit
5867cb05c7
|
@ -42,7 +42,7 @@ def get_video_description(video_id):
|
||||||
out += ' - \x02%s\x02 views' % format(data['viewCount'], ",d")
|
out += ' - \x02%s\x02 views' % format(data['viewCount'], ",d")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
uploader = http.get_json(base_url + "users/{}?alt=json".format(data["uploader"]))["entry"]["title"]["$t"]
|
uploader = http.get_json(base_url + "users/{}?alt=json".format(data["uploader"]))["entry"]["author"]["name"]["$t"]
|
||||||
except:
|
except:
|
||||||
uploader = data["uploader"]
|
uploader = data["uploader"]
|
||||||
|
|
||||||
|
|
Reference in a new issue