[dplayit] Relax video id regex (closes #13524)
authorSergey M․ <dstftw@gmail.com>
Fri, 30 Jun 2017 14:55:45 +0000 (21:55 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 30 Jun 2017 14:55:45 +0000 (21:55 +0700)
youtube_dl/extractor/dplay.py

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