]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/foxsports.py
   1 from __future__ 
import unicode_literals
 
   3 from .common 
import InfoExtractor
 
   6 class FoxSportsIE(InfoExtractor
): 
   7     _VALID_URL 
= r
'https?://(?:www\.)?foxsports\.com/(?:[^/]+/)*video/(?P<id>\d+)' 
  10         'url': 'http://www.foxsports.com/tennessee/video/432609859715', 
  11         'md5': 'b49050e955bebe32c301972e4012ac17', 
  15             'title': 'Courtney Lee on going up 2-0 in series vs. Blazers', 
  16             'description': 'Courtney Lee talks about Memphis being focused.', 
  18             'upload_date': '19700101',  # '20150423', 
  19             # 'timestamp': 1429761109, 
  20             'uploader': 'NEWA-FNG-FOXSPORTS', 
  24             'skip_download': True, 
  26         'add_ie': ['ThePlatform'], 
  29     def _real_extract(self
, url
): 
  30         video_id 
= self
._match
_id
(url
) 
  32         return self
.url_result( 
  33             'https://feed.theplatform.com/f/BKQ29B/foxsports-all?byId=' + video_id
, 'ThePlatformFeed')