mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[mtv] Add an extractor for mtviggy.com (#2072)
This commit is contained in:
		@@ -119,7 +119,10 @@ from .mit import TechTVMITIE, MITIE
 | 
				
			|||||||
from .mixcloud import MixcloudIE
 | 
					from .mixcloud import MixcloudIE
 | 
				
			||||||
from .mpora import MporaIE
 | 
					from .mpora import MporaIE
 | 
				
			||||||
from .mofosex import MofosexIE
 | 
					from .mofosex import MofosexIE
 | 
				
			||||||
from .mtv import MTVIE
 | 
					from .mtv import (
 | 
				
			||||||
 | 
					    MTVIE,
 | 
				
			||||||
 | 
					    MTVIggyIE,
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
from .muzu import MuzuTVIE
 | 
					from .muzu import MuzuTVIE
 | 
				
			||||||
from .myspace import MySpaceIE
 | 
					from .myspace import MySpaceIE
 | 
				
			||||||
from .myspass import MySpassIE
 | 
					from .myspass import MySpassIE
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -154,3 +154,17 @@ class MTVIE(MTVServicesInfoExtractor):
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
            uri = self._html_search_regex(r'/uri/(.*?)\?', webpage, 'uri')
 | 
					            uri = self._html_search_regex(r'/uri/(.*?)\?', webpage, 'uri')
 | 
				
			||||||
        return self._get_videos_info(uri)
 | 
					        return self._get_videos_info(uri)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class MTVIggyIE(MTVServicesInfoExtractor):
 | 
				
			||||||
 | 
					    IE_NAME = 'mtviggy.com'
 | 
				
			||||||
 | 
					    _VALID_URL = r'https?://www\.mtviggy\.com/videos/.+'
 | 
				
			||||||
 | 
					    _TEST = {
 | 
				
			||||||
 | 
					        'url': 'http://www.mtviggy.com/videos/arcade-fire-behind-the-scenes-at-the-biggest-music-experiment-yet/',
 | 
				
			||||||
 | 
					        'info_dict': {
 | 
				
			||||||
 | 
					            'id': '984696',
 | 
				
			||||||
 | 
					            'ext': 'mp4',
 | 
				
			||||||
 | 
					            'title': 'Short',
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    _FEED_URL = 'http://all.mtvworldverticals.com/feed-xml/'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user