]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[xboxclips] Fix extraction
authorSergey M․ <dstftw@gmail.com>
Sun, 11 Jan 2015 09:25:29 +0000 (15:25 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 11 Jan 2015 09:25:29 +0000 (15:25 +0600)
youtube_dl/extractor/xboxclips.py

index 9cf8678079b35fc694eee0a7583b089d44d98b1f..236ff403bd08f941a2eb023cd41c3bb21c49d4c3 100644 (file)
@@ -30,7 +30,7 @@ class XboxClipsIE(InfoExtractor):
         webpage = self._download_webpage(url, video_id)
 
         video_url = self._html_search_regex(
-            r'>(?:Link|Download): <a href="([^"]+)">', webpage, 'video URL')
+            r'>(?:Link|Download): <a[^>]+href="([^"]+)"', webpage, 'video URL')
         title = self._html_search_regex(
             r'<title>XboxClips \| ([^<]+)</title>', webpage, 'title')
         upload_date = unified_strdate(self._html_search_regex(