mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[springboardplatform] Add extractor
This commit is contained in:
		| @@ -101,6 +101,7 @@ from .vzaar import VzaarIE | ||||
| from .channel9 import Channel9IE | ||||
| from .vshare import VShareIE | ||||
| from .mediasite import MediasiteIE | ||||
| from .springboardplatform import SpringboardPlatformIE | ||||
|  | ||||
|  | ||||
| class GenericIE(InfoExtractor): | ||||
| @@ -1938,6 +1939,21 @@ class GenericIE(InfoExtractor): | ||||
|                 'timestamp': 1474354800, | ||||
|                 'upload_date': '20160920', | ||||
|             } | ||||
|         }, | ||||
|         { | ||||
|             'url': 'http://www.kidzworld.com/article/30935-trolls-the-beat-goes-on-interview-skylar-astin-and-amanda-leighton', | ||||
|             'info_dict': { | ||||
|                 'id': '1731611', | ||||
|                 'ext': 'mp4', | ||||
|                 'title': 'Official Trailer | TROLLS: THE BEAT GOES ON!', | ||||
|                 'description': 'md5:eb5f23826a027ba95277d105f248b825', | ||||
|                 'timestamp': 1516100691, | ||||
|                 'upload_date': '20180116', | ||||
|             }, | ||||
|             'params': { | ||||
|                 'skip_download': True, | ||||
|             }, | ||||
|             'add_ie': [SpringboardPlatformIE.ie_key()], | ||||
|         } | ||||
|         # { | ||||
|         #     # TODO: find another test | ||||
| @@ -2906,6 +2922,12 @@ class GenericIE(InfoExtractor): | ||||
|                 for mediasite_url in mediasite_urls] | ||||
|             return self.playlist_result(entries, video_id, video_title) | ||||
|  | ||||
|         springboardplatform_urls = SpringboardPlatformIE._extract_urls(webpage) | ||||
|         if springboardplatform_urls: | ||||
|             return self.playlist_from_matches( | ||||
|                 springboardplatform_urls, video_id, video_title, | ||||
|                 ie=SpringboardPlatformIE.ie_key()) | ||||
|  | ||||
|         def merge_dicts(dict1, dict2): | ||||
|             merged = {} | ||||
|             for k, v in dict1.items(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․