projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youtube] Fix extraction (closes #20758, closes #20759, closes #20761, closes #20762...
[youtube-dl]
/
youtube_dl
/
extractor
/
videodetective.py
diff --git
a/youtube_dl/extractor/videodetective.py
b/youtube_dl/extractor/videodetective.py
index 2ed5d964344211c22d2260b1946273772434db8b..a19411a058784fc61db3b764ec882f0b9986323f 100644
(file)
--- a/
youtube_dl/extractor/videodetective.py
+++ b/
youtube_dl/extractor/videodetective.py
@@
-6,7
+6,7
@@
from .internetvideoarchive import InternetVideoArchiveIE
class VideoDetectiveIE(InfoExtractor):
class VideoDetectiveIE(InfoExtractor):
- _VALID_URL = r'https?://
www\.
videodetective\.com/[^/]+/[^/]+/(?P<id>\d+)'
+ _VALID_URL = r'https?://
(?:www\.)?
videodetective\.com/[^/]+/[^/]+/(?P<id>\d+)'
_TEST = {
'url': 'http://www.videodetective.com/movies/kick-ass-2/194487',
_TEST = {
'url': 'http://www.videodetective.com/movies/kick-ass-2/194487',