A feature-rich command-line audio/video downloader
[cmt] Extend _VALID_URL to support shows (Closes #7407)
Sergey M․4f5cdf7c9b21
diff --git a/youtube_dl/extractor/cmt.py b/youtube_dl/extractor/cmt.pyindex e96c59f718..f1311b14f8 100644--- a/youtube_dl/extractor/cmt.py+++ b/youtube_dl/extractor/cmt.py@@ -4,7 +4,7 @@ from .mtv import MTVIEclass 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,}]