mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[cmt,mtv,southpark] Add support for episode URLs (closes #11837)
This commit is contained in:
		| @@ -304,7 +304,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 = [{ | ||||
| @@ -321,6 +321,9 @@ class MTVIE(MTVServicesInfoExtractor): | ||||
|     }, { | ||||
|         'url': 'http://www.mtv.com/full-episodes/94tujl/unlocking-the-truth-gates-of-hell-season-1-ep-101', | ||||
|         'only_matching': True, | ||||
|     }, { | ||||
|         'url': 'http://www.mtv.com/episodes/g8xu7q/teen-mom-2-breaking-the-wall-season-7-ep-713', | ||||
|         'only_matching': True, | ||||
|     }] | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․