mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[discovery] improve _VALID_URL regex
This commit is contained in:
parent
fec040e754
commit
b05641ce40
|
@ -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': {
|
||||
|
|
Loading…
Reference in a new issue