1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-13 19:55:25 +00:00

Update yt_dlp/extractor/pandavideo.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
Iuri Campos
2025-06-01 20:41:06 +01:00
committed by GitHub
parent 31c6081b7c
commit 2156f3da0e

View File

@@ -2,8 +2,8 @@ from .common import InfoExtractor
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/',