projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #10829 from TRox1972/pornoxo_improve
[youtube-dl]
/
youtube_dl
/
extractor
/
rottentomatoes.py
diff --git
a/youtube_dl/extractor/rottentomatoes.py
b/youtube_dl/extractor/rottentomatoes.py
index 23abf7a270b2c99c6db32141be7902ec8f4e6ccc..1d404d20aa8b2223c68cada46e4bfe87613eb6ae 100644
(file)
--- a/
youtube_dl/extractor/rottentomatoes.py
+++ b/
youtube_dl/extractor/rottentomatoes.py
@@
-5,7
+5,7
@@
from .internetvideoarchive import InternetVideoArchiveIE
class RottenTomatoesIE(InfoExtractor):
class RottenTomatoesIE(InfoExtractor):
- _VALID_URL = r'https?://
www\.
rottentomatoes\.com/m/[^/]+/trailers/(?P<id>\d+)'
+ _VALID_URL = r'https?://
(?:www\.)?
rottentomatoes\.com/m/[^/]+/trailers/(?P<id>\d+)'
_TEST = {
'url': 'http://www.rottentomatoes.com/m/toy_story_3/trailers/11028566/',
_TEST = {
'url': 'http://www.rottentomatoes.com/m/toy_story_3/trailers/11028566/',