]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[mtv] Improve _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Tue, 27 Sep 2016 15:27:10 +0000 (22:27 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 27 Sep 2016 15:27:10 +0000 (22:27 +0700)
youtube_dl/extractor/mtv.py

index 2e9580b103430dedd718134159fddbecd4a12ad3..74a3a035e771803154b6685fcd4cbfd3dbb20a9b 100644 (file)
@@ -271,7 +271,7 @@ class MTVServicesEmbeddedIE(MTVServicesInfoExtractor):
 
 class MTVIE(MTVServicesInfoExtractor):
     IE_NAME = 'mtv'
-    _VALID_URL = r'https?://(?:www\.)?mtv\.com/(video-clips|full-episodes)/(?P<id>[^/?#.]+)'
+    _VALID_URL = r'https?://(?:www\.)?mtv\.com/(?:video-clips|full-episodes)/(?P<id>[^/?#.]+)'
     _FEED_URL = 'http://www.mtv.com/feeds/mrss/'
 
     _TESTS = [{