[mtv] Improve _VALID_URL

This commit is contained in:
Sergey M․ 2016-09-27 22:27:10 +07:00
parent e384552590
commit cdfcc4ce95
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -271,7 +271,7 @@ def _real_extract(self, url):
class MTVIE(MTVServicesInfoExtractor): class MTVIE(MTVServicesInfoExtractor):
IE_NAME = 'mtv' 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/' _FEED_URL = 'http://www.mtv.com/feeds/mrss/'
_TESTS = [{ _TESTS = [{