From: Sergey M․ Date: Thu, 30 Jun 2016 16:19:29 +0000 (+0700) Subject: [pladform] Improve embed detection X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8ff6697861b918ff9221c7dd46a6e1109ad0ef34;p=youtube-dl [pladform] Improve embed detection --- diff --git a/youtube_dl/extractor/pladform.py b/youtube_dl/extractor/pladform.py index bc559d1df..77e1211d6 100644 --- a/youtube_dl/extractor/pladform.py +++ b/youtube_dl/extractor/pladform.py @@ -49,7 +49,7 @@ class PladformIE(InfoExtractor): @staticmethod def _extract_url(webpage): mobj = re.search( - r']+src="(?P(?:https?:)?//out\.pladform\.ru/player\?.+?)"', webpage) + r']+src=(["\'])(?P(?:https?:)?//out\.pladform\.ru/player\?.+?)\1', webpage) if mobj: return mobj.group('url')