mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 11:26:41 +00:00
[mtv] Improve _VALID_URL
This commit is contained in:
parent
e384552590
commit
cdfcc4ce95
|
@ -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 = [{
|
||||||
|
|
Loading…
Reference in a new issue