Explorar o código

[unistra] Fix extraction

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
5cc9c5dfa8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = []