projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec040e
)
[discovery] improve _VALID_URL regex
author
remitamine
<remitamine@gmail.com>
Thu, 31 Dec 2015 17:24:49 +0000
(18:24 +0100)
committer
remitamine
<remitamine@gmail.com>
Thu, 31 Dec 2015 17:24:49 +0000
(18:24 +0100)
youtube_dl/extractor/discovery.py
patch
|
blob
|
history
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': {