]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/rottentomatoes.py
   1 from __future__ 
import unicode_literals
 
   3 from .videodetective 
import VideoDetectiveIE
 
   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+)' 
  12         'url': 'http://www.rottentomatoes.com/m/toy_story_3/trailers/11028566/', 
  16             'title': 'TOY STORY 3', 
  17             'description': 'From the creators of the beloved TOY STORY films, comes a story that will reunite the gang in a whole new way.',