diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-06-30 23:19:29 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-06-30 23:19:29 +0700 |
commit | 8ff6697861b918ff9221c7dd46a6e1109ad0ef34 (patch) | |
tree | b9ba149d6587668c47327cd46a80c89cc834dce2 | |
parent | eafa643715c0989dff927c9a44e837ca62247b4e (diff) |
[pladform] Improve embed detection
-rw-r--r-- | youtube_dl/extractor/pladform.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'<iframe[^>]+src="(?P<url>(?:https?:)?//out\.pladform\.ru/player\?.+?)"', webpage) + r'<iframe[^>]+src=(["\'])(?P<url>(?:https?:)?//out\.pladform\.ru/player\?.+?)\1', webpage) if mobj: return mobj.group('url') |