mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[megaphone] Add extractor
This commit is contained in:
		| @@ -97,6 +97,7 @@ from .washingtonpost import WashingtonPostIE | ||||
| from .wistia import WistiaIE | ||||
| from .mediaset import MediasetIE | ||||
| from .joj import JojIE | ||||
| from .megaphone import MegaphoneIE | ||||
|  | ||||
|  | ||||
| class GenericIE(InfoExtractor): | ||||
| @@ -2790,6 +2791,13 @@ class GenericIE(InfoExtractor): | ||||
|             return self.playlist_from_matches( | ||||
|                 joj_urls, video_id, video_title, ie=JojIE.ie_key()) | ||||
|  | ||||
|         # Look for megaphone.fm embeds | ||||
|         mpfn_urls = MegaphoneIE._extract_urls(webpage) | ||||
|         if mpfn_urls: | ||||
|             return self.playlist_from_matches( | ||||
|                 mpfn_urls, video_id, video_title, ie=MegaphoneIE.ie_key()) | ||||
|  | ||||
|  | ||||
|         def merge_dicts(dict1, dict2): | ||||
|             merged = {} | ||||
|             for k, v in dict1.items(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister