projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youtube:live] Relax _VALID_URL (closes #11164)
[youtube-dl]
/
youtube_dl
/
extractor
/
pladform.py
diff --git
a/youtube_dl/extractor/pladform.py
b/youtube_dl/extractor/pladform.py
index bc559d1df289fca39b96f5cfc5519bf6acb8bbb3..77e1211d6095cf17464ce09a27b756157b4931e9 100644
(file)
--- 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(
@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')
if mobj:
return mobj.group('url')