projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[discovery] improve _VALID_URL regex
[youtube-dl]
/
youtube_dl
/
extractor
/
discovery.py
diff --git
a/youtube_dl/extractor/discovery.py
b/youtube_dl/extractor/discovery.py
index 2626d85e3a4e1dd763c61a77ae1edc99030f1a3a..ce680a9f3192832a7fb9e35956382f85bc60d043 100644
(file)
--- a/
youtube_dl/extractor/discovery.py
+++ b/
youtube_dl/extractor/discovery.py
@@
-19,7
+19,7
@@
class DiscoveryIE(InfoExtractor):
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': {