mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[cleanup, ie] Match both http and https in _VALID_URL (#8968)
				
					
				
			Except for Vimeo, since that causes matching collisions. Authored by: seproDev
This commit is contained in:
		| @@ -5,7 +5,7 @@ from ..utils import js_to_json | ||||
| class MegaphoneIE(InfoExtractor): | ||||
|     IE_NAME = 'megaphone.fm' | ||||
|     IE_DESC = 'megaphone.fm embedded players' | ||||
|     _VALID_URL = r'https://player\.megaphone\.fm/(?P<id>[A-Z0-9]+)' | ||||
|     _VALID_URL = r'https?://player\.megaphone\.fm/(?P<id>[A-Z0-9]+)' | ||||
|     _EMBED_REGEX = [rf'<iframe[^>]*?\ssrc=["\'](?P<url>{_VALID_URL})'] | ||||
|     _TEST = { | ||||
|         'url': 'https://player.megaphone.fm/GLT9749789991', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sepro
					sepro