diff options
author | Sergey M․ <[email protected]> | 2015-11-09 01:48:46 +0600 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2015-11-09 01:48:46 +0600 |
commit | 4f5cdf7c9b21ba00822ad0134c5883f6ca366674 (patch) | |
tree | 38f9084052788a445904765333bdf15aa22128c7 /youtube_dl/extractor/cmt.py | |
parent | f09a767d3198823e5c0ac187a91284c8d2736eb6 (diff) | |
download | youtube-dl-4f5cdf7c9b21ba00822ad0134c5883f6ca366674.tar.gz youtube-dl-4f5cdf7c9b21ba00822ad0134c5883f6ca366674.zip |
[cmt] Extend _VALID_URL to support shows (Closes #7407)
Diffstat (limited to 'youtube_dl/extractor/cmt.py')
-rw-r--r-- | youtube_dl/extractor/cmt.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cmt.py b/youtube_dl/extractor/cmt.py index e96c59f71..f1311b14f 100644 --- a/youtube_dl/extractor/cmt.py +++ b/youtube_dl/extractor/cmt.py @@ -4,7 +4,7 @@ from .mtv import MTVIE class CMTIE(MTVIE): IE_NAME = 'cmt.com' - _VALID_URL = r'https?://www\.cmt\.com/videos/.+?/(?P<videoid>[^/]+)\.jhtml' + _VALID_URL = r'https?://www\.cmt\.com/(?:videos|shows)/(?:[^/]+/)*(?P<videoid>\d+)' _FEED_URL = 'http://www.cmt.com/sitewide/apps/player/embed/rss/' _TESTS = [{ @@ -16,4 +16,7 @@ class CMTIE(MTVIE): 'title': 'Garth Brooks - "The Call (featuring Trisha Yearwood)"', 'description': 'Blame It All On My Roots', }, + }, { + 'url': 'http://www.cmt.com/shows/party-down-south/party-down-south-ep-407-gone-girl/1738172/playlist/#id=1738172', + 'only_matching': True, }] |