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