projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[livestream] Properly build smil URLs (#8794)
[youtube-dl]
/
youtube_dl
/
extractor
/
tvc.py
diff --git
a/youtube_dl/extractor/tvc.py
b/youtube_dl/extractor/tvc.py
index 6b5d80aeed9f7458a8136f705c386d213b1e5840..3a4f393fcf6d79f3f42970db7aab853d5efedf84 100644
(file)
--- a/
youtube_dl/extractor/tvc.py
+++ b/
youtube_dl/extractor/tvc.py
@@
-27,7
+27,7
@@
class TVCIE(InfoExtractor):
@classmethod
def _extract_url(cls, webpage):
mobj = re.search(
@classmethod
def _extract_url(cls, webpage):
mobj = re.search(
- r'<iframe[^>]+?src=(["\'])(?P<url>(?:http:
//)?
(?:www\.)?tvc\.ru/video/iframe/id/[^"]+)\1', webpage)
+ r'<iframe[^>]+?src=(["\'])(?P<url>(?:http:
)?//
(?:www\.)?tvc\.ru/video/iframe/id/[^"]+)\1', webpage)
if mobj:
return mobj.group('url')
if mobj:
return mobj.group('url')