[googleplus] Fix extraction of formats

This commit is contained in:
Jaime Marquínez Ferrándiz 2015-11-07 18:43:22 +01:00
parent 6d02b9a392
commit cff551c0b0

View File

@ -61,7 +61,7 @@ def unicode_escape(s):
'width': int(width),
'height': int(height),
} for width, height, video_url in re.findall(
r'\d+,(\d+),(\d+),"(https?://redirector\.googlevideo\.com.*?)"', webpage)]
r'\d+,(\d+),(\d+),"(https?://[^.]+\.googleusercontent.com.*?)"', webpage)]
self._sort_formats(formats)
return {