projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9872d31
)
[tvc] Fix embed regex
author
Sergey M․
<dstftw@gmail.com>
Fri, 12 Jun 2015 13:31:52 +0000
(19:31 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 12 Jun 2015 13:31:52 +0000
(19:31 +0600)
youtube_dl/extractor/tvc.py
patch
|
blob
|
history
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(
- 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')