]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/rottentomatoes.py
Add an extractor for cmt.com (closes #2049)
[yt-dlp.git] / youtube_dl / extractor / rottentomatoes.py
CommitLineData
4b7b839f
JMF
1from .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
6class 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 }