[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:
parent
93240fc184
commit
a687226b48
20 changed files with 28 additions and 28 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue