]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/cmt.py
Prepare for upload.
[youtubedl] / youtube_dl / extractor / cmt.py
1 from __future__ import unicode_literals
2 from .mtv import MTVIE
3
4
5 class CMTIE(MTVIE):
6 IE_NAME = 'cmt.com'
7 _VALID_URL = r'https?://www\.cmt\.com/videos/.+?/(?P<videoid>[^/]+)\.jhtml'
8 _FEED_URL = 'http://www.cmt.com/sitewide/apps/player/embed/rss/'
9
10 _TESTS = [{
11 'url': 'http://www.cmt.com/videos/garth-brooks/989124/the-call-featuring-trisha-yearwood.jhtml#artist=30061',
12 'md5': 'e6b7ef3c4c45bbfae88061799bbba6c2',
13 'info_dict': {
14 'id': '989124',
15 'ext': 'mp4',
16 'title': 'Garth Brooks - "The Call (featuring Trisha Yearwood)"',
17 'description': 'Blame It All On My Roots',
18 },
19 }]