]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/cmt.py
Update changelog.
[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|shows)/(?:[^/]+/)*(?P<videoid>\d+)'
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 }, {
20 'url': 'http://www.cmt.com/shows/party-down-south/party-down-south-ep-407-gone-girl/1738172/playlist/#id=1738172',
21 'only_matching': True,
22 }]