]> git.bitcoin.ninja Git - youtube-dl/blob - youtube_dl/extractor/rottentomatoes.py
Merge pull request #2005 from dstftw/ivi.ru
[youtube-dl] / youtube_dl / extractor / rottentomatoes.py
1 from .videodetective import VideoDetectiveIE
2
3
4 # It just uses the same method as videodetective.com,
5 # the internetvideoarchive.com is extracted from the og:video property
6 class RottenTomatoesIE(VideoDetectiveIE):
7     _VALID_URL = r'https?://www\.rottentomatoes\.com/m/[^/]+/trailers/(?P<id>\d+)'
8
9     _TEST = {
10         u'url': u'http://www.rottentomatoes.com/m/toy_story_3/trailers/11028566/',
11         u'file': '613340.mp4',
12         u'info_dict': {
13             u'title': u'TOY STORY 3',
14             u'description': u'From the creators of the beloved TOY STORY films, comes a story that will reunite the gang in a whole new way.',
15         },
16     }