瀏覽代碼

[googleplus] Fix extraction of formats

Jaime Marquínez Ferrándiz 9 年之前
父節點
當前提交
cff551c0b0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/googleplus.py

+ 1 - 1
youtube_dl/extractor/googleplus.py

@@ -61,7 +61,7 @@ class GooglePlusIE(InfoExtractor):
             'width': int(width),
             'width': int(width),
             'height': int(height),
             'height': int(height),
         } for width, height, video_url in re.findall(
         } 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)
         self._sort_formats(formats)
 
 
         return {
         return {