From: Sergey M․ Date: Fri, 30 Jun 2017 14:55:45 +0000 (+0700) Subject: [dplayit] Relax video id regex (closes #13524) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d4f8ce6e91aff0ba0a6a4464d5525ba66720ae86;p=youtube-dl [dplayit] Relax video id regex (closes #13524) --- diff --git a/youtube_dl/extractor/dplay.py b/youtube_dl/extractor/dplay.py index 87c5dd63e..1a41760f8 100644 --- a/youtube_dl/extractor/dplay.py +++ b/youtube_dl/extractor/dplay.py @@ -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')