mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[southparkdk] Add extractor
This commit is contained in:
		@@ -490,6 +490,7 @@ from .soundgasm import (
 | 
				
			|||||||
from .southpark import (
 | 
					from .southpark import (
 | 
				
			||||||
    SouthParkIE,
 | 
					    SouthParkIE,
 | 
				
			||||||
    SouthParkDeIE,
 | 
					    SouthParkDeIE,
 | 
				
			||||||
 | 
					    SouthParkDkIE,
 | 
				
			||||||
    SouthParkEsIE,
 | 
					    SouthParkEsIE,
 | 
				
			||||||
    SouthParkNlIE
 | 
					    SouthParkNlIE
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -57,3 +57,13 @@ class SouthParkNlIE(SouthParkIE):
 | 
				
			|||||||
        'url': 'http://www.southpark.nl/full-episodes/s18e06-freemium-isnt-free',
 | 
					        'url': 'http://www.southpark.nl/full-episodes/s18e06-freemium-isnt-free',
 | 
				
			||||||
        'playlist_count': 4,
 | 
					        'playlist_count': 4,
 | 
				
			||||||
    }]
 | 
					    }]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class SouthParkDkIE(SouthParkIE):
 | 
				
			||||||
 | 
					    IE_NAME = 'southpark.dk'
 | 
				
			||||||
 | 
					    _VALID_URL = r'https?://(?:www\.)?(?P<url>southparkstudios\.dk/(?:clips|full-episodes)/(?P<id>.+?)(\?|#|$))'
 | 
				
			||||||
 | 
					    _FEED_URL = 'http://www.southparkstudios.dk/feeds/video-player/mrss/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    _TESTS = [{
 | 
				
			||||||
 | 
					        'url': 'http://www.southparkstudios.dk/full-episodes/s18e07-grounded-vindaloop',
 | 
				
			||||||
 | 
					        'playlist_count': 4,
 | 
				
			||||||
 | 
					    }]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user