]>
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' |
c801b205 JMF |
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 | ||
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 | }, |
8ae5ce17 | 19 | }] |