projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[once] Prevent ads from embedding into m3u8 playlists (Closes #8893)
[youtube-dl]
/
youtube_dl
/
extractor
/
discovery.py
diff --git
a/youtube_dl/extractor/discovery.py
b/youtube_dl/extractor/discovery.py
index 2626d85e3a4e1dd763c61a77ae1edc99030f1a3a..fdce1429a62acb579f1e3acbd5e883a8444dd6f9 100644
(file)
--- a/
youtube_dl/extractor/discovery.py
+++ b/
youtube_dl/extractor/discovery.py
@@
-9,7
+9,7
@@
from ..compat import compat_str
class DiscoveryIE(InfoExtractor):
class DiscoveryIE(InfoExtractor):
- _VALID_URL = r'''(?x)http://(?:www\.)?(?:
+ _VALID_URL = r'''(?x)http
s?
://(?:www\.)?(?:
discovery|
investigationdiscovery|
discoverylife|
discovery|
investigationdiscovery|
discoverylife|
@@
-19,7
+19,7
@@
class DiscoveryIE(InfoExtractor):
sciencechannel|
tlc|
velocity
sciencechannel|
tlc|
velocity
- )\.com/(
[^/]+/)*(?P<id>[^\./\
?#]+)'''
+ )\.com/(
?:[^/]+/)*(?P<id>[^./
?#]+)'''
_TESTS = [{
'url': 'http://www.discovery.com/tv-shows/mythbusters/videos/mission-impossible-outtakes.htm',
'info_dict': {
_TESTS = [{
'url': 'http://www.discovery.com/tv-shows/mythbusters/videos/mission-impossible-outtakes.htm',
'info_dict': {