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