We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55deea0 commit cf226f4Copy full SHA for cf226f4
src/gpodder/youtube.py
@@ -56,6 +56,9 @@ def get_real_download_url(url, preferred_fmt_id=18):
56
# Try to find the best video format available for this video
57
# (http://forum.videohelp.com/topic336882-1800.html#1912972)
58
r3 = re.compile('.*"fmt_map"\:\s+"([^"]+)".*').search(page)
59
+ if not r3:
60
+ r3 = re.compile('&fmt_map=([^&]+).*').search(page)
61
+
62
if r3:
63
formats_available = urllib.unquote(r3.group(1)).split(',')
64
else:
0 commit comments