aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-06-30 23:19:29 +0700
committerSergey M․ <dstftw@gmail.com>2016-06-30 23:19:29 +0700
commit8ff6697861b918ff9221c7dd46a6e1109ad0ef34 (patch)
treeb9ba149d6587668c47327cd46a80c89cc834dce2
parenteafa643715c0989dff927c9a44e837ca62247b4e (diff)
[pladform] Improve embed detection
-rw-r--r--youtube_dl/extractor/pladform.py2
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')