]>
Raphaël G. Git Repositories - youtubedl/blob - youtube_dl/extractor/people.py
   2 from __future__ 
import unicode_literals
 
   4 from .common 
import InfoExtractor
 
   7 class PeopleIE(InfoExtractor
): 
   8     _VALID_URL 
= r
'https?://(?:www\.)?people\.com/people/videos/0,,(?P<id>\d+),00\.html' 
  11         'url': 'http://www.people.com/people/videos/0,,20995451,00.html', 
  15             'title': 'Astronaut Love Triangle Victim Speaks Out: “The Crime in 2007 Hasn’t Defined Us”', 
  16             'description': 'Colleen Shipman speaks to PEOPLE for the first time about life after the attack', 
  17             'thumbnail': r
're:^https?://.*\.jpg', 
  19             'timestamp': 1458720585, 
  20             'upload_date': '20160323', 
  21             'uploader_id': '416418724', 
  24             'skip_download': True, 
  26         'add_ie': ['BrightcoveNew'], 
  29     def _real_extract(self
, url
): 
  30         return self
.url_result( 
  31             'http://players.brightcove.net/416418724/default_default/index.html?videoId=ref:%s' 
  32             % self
._match
_id
(url
), 'BrightcoveNew')