]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/spike.py
56682ac45595344c80ff06fc9861ae54469b4a95
[youtubedl] / youtube_dl / extractor / spike.py
1 from __future__ import unicode_literals
2
3 from .mtv import MTVServicesInfoExtractor
4
5
6 class SpikeIE(MTVServicesInfoExtractor):
7 _VALID_URL = r'https?://www\.spike\.com/(video-clips|episodes)/.+'
8 _TEST = {
9 'url': 'http://www.spike.com/video-clips/lhtu8m/auction-hunters-can-allen-ride-a-hundred-year-old-motorcycle',
10 'md5': '1a9265f32b0c375793d6c4ce45255256',
11 'info_dict': {
12 'id': 'b9c8221a-4e50-479a-b86d-3333323e38ba',
13 'ext': 'mp4',
14 'title': 'Auction Hunters|Can Allen Ride A Hundred Year-Old Motorcycle?',
15 'description': 'md5:fbed7e82ed5fad493615b3094a9499cb',
16 },
17 }
18
19 _FEED_URL = 'http://www.spike.com/feeds/mrss/'