]>
Commit | Line | Data |
---|---|---|
8ae5ce17 | 1 | from __future__ import unicode_literals |
c801b205 JMF |
2 | from .mtv import MTVIE |
3 | ||
8ae5ce17 | 4 | |
c801b205 | 5 | class CMTIE(MTVIE): |
8ae5ce17 | 6 | IE_NAME = 'cmt.com' |
4f5cdf7c | 7 | _VALID_URL = r'https?://www\.cmt\.com/(?:videos|shows)/(?:[^/]+/)*(?P<videoid>\d+)' |
c801b205 JMF |
8 | _FEED_URL = 'http://www.cmt.com/sitewide/apps/player/embed/rss/' |
9 | ||
8ae5ce17 PH |
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', | |
c801b205 | 18 | }, |
4f5cdf7c S |
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, | |
8ae5ce17 | 22 | }] |