mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 17:08:32 +00:00
Update yt_dlp/extractor/pandavideo.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
31c6081b7c
commit
2156f3da0e
@ -2,8 +2,8 @@
|
||||
|
||||
|
||||
class PandaVideoIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?P<server>[\w-]+)\.tv\.pandavideo\.com\.br/embed/?\?(?:[^#]*&)?v=(?P<id>[\da-f-]+)'
|
||||
_EMBED_REGEX = [rf'<iframe[^>]+\bsrc=[\'"](?P<url>{_VALID_URL})']
|
||||
_VALID_URL = r'https?://(?P<server>[\w-]+)\.tv\.pandavideo\.com\.br/embed/?\?(?:[^#"\']*&)?v=(?P<id>[\da-f-]+)'
|
||||
_EMBED_REGEX = [rf'<iframe[^>]+\bsrc=["\'](?P<url>{_VALID_URL})']
|
||||
_WEBPAGE_TESTS = [{
|
||||
# Embedebd video test
|
||||
'url': 'https://www.pandavideo.com/',
|
||||
|
Loading…
Reference in New Issue
Block a user