Skip to content

Commit

Permalink
YouTube: Fix the new 403 issue (bug 1665)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieska authored and thp committed Sep 28, 2012
1 parent d7fee02 commit d1d78ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpodder/youtube.py
Expand Up @@ -89,7 +89,7 @@ def find_urls(page):
fmt_url_map = urllib.unquote(r4.group(1))
for fmt_url_encoded in fmt_url_map.split(','):
video_info = parse_qs(fmt_url_encoded)
yield int(video_info['itag'][0]), video_info['url'][0]
yield int(video_info['itag'][0]), video_info['url'][0] + "&signature=" + video_info['sig'][0]
else:
error_info = parse_qs(page)
error_message = util.remove_html_tags(error_info['reason'][0])
Expand Down

0 comments on commit d1d78ed

Please sign in to comment.