ソースを参照

[unistra] Fix extraction

Sergey M․ 9 年 前
コミット
5cc9c5dfa8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      youtube_dl/extractor/unistra.py

+ 1 - 1
youtube_dl/extractor/unistra.py

@@ -38,7 +38,7 @@ class UnistraIE(InfoExtractor):
 
         webpage = self._download_webpage(url, video_id)
 
-        files = set(re.findall(r'file\s*:\s*"([^"]+)"', webpage))
+        files = set(re.findall(r'file\s*:\s*"(/[^"]+)"', webpage))
 
         quality = qualities(['SD', 'HD'])
         formats = []