Browse Source

[dplayit] Relax video id regex (closes #13524)

Sergey M․ 8 years ago
parent
commit
d4f8ce6e91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/dplay.py

+ 1 - 1
youtube_dl/extractor/dplay.py

@@ -184,7 +184,7 @@ class DPlayItIE(InfoExtractor):
         webpage = self._download_webpage(url, display_id)
         webpage = self._download_webpage(url, display_id)
 
 
         info_url = self._search_regex(
         info_url = self._search_regex(
-            r'url\s*:\s*["\']((?:https?:)?//[^/]+/playback/videoPlaybackInfo/\d+)',
+            r'url\s*[:=]\s*["\']((?:https?:)?//[^/]+/playback/videoPlaybackInfo/\d+)',
             webpage, 'video id')
             webpage, 'video id')
 
 
         title = remove_end(self._og_search_title(webpage), ' | Dplay')
         title = remove_end(self._og_search_title(webpage), ' | Dplay')