projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c8f2e
)
[dbtv] Relax embed regex
author
Sergey M․
<dstftw@gmail.com>
Thu, 18 Aug 2016 14:30:55 +0000
(21:30 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 18 Aug 2016 14:30:55 +0000
(21:30 +0700)
youtube_dl/extractor/dbtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dbtv.py
b/youtube_dl/extractor/dbtv.py
index 73dba5e2aea481afa536bc24dc8dc0b936fb30e0..6d880d43d6507077018f9489749947d83a36f64b 100644
(file)
--- a/
youtube_dl/extractor/dbtv.py
+++ b/
youtube_dl/extractor/dbtv.py
@@
-41,7
+41,7
@@
class DBTVIE(InfoExtractor):
@staticmethod
def _extract_urls(webpage):
return [url for _, url in re.findall(
- r'<iframe[^>]+src=(["\'])((?:https?:)?//(?:www\.)?dbtv\.no/
lazy
player/\d+.*?)\1',
+ r'<iframe[^>]+src=(["\'])((?:https?:)?//(?:www\.)?dbtv\.no/
(?:lazy)?
player/\d+.*?)\1',
webpage)]
def _real_extract(self, url):