_EMBED_REGEX

This commit is contained in:
dirkf 2022-11-14 16:28:24 +00:00 committed by GitHub
parent 8f0e4816e3
commit 2a47a5a3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ class PanoptoBaseIE(InfoExtractor):
class PanoptoIE(PanoptoBaseIE):
_VALID_URL = PanoptoBaseIE.BASE_URL_RE + r'/Pages/(Viewer|Embed)\.aspx.*(?:\?|&)id=(?P<id>[a-f0-9-]+)'
__EMBED_REGEX = [
_EMBED_REGEX = [
r'''<iframe[^>]+src=["\'](?P<url>%s/Pages/(Viewer|Embed|Sessions/List)\.aspx[^"']+)'''
% (PanoptoBaseIE.BASE_URL_RE, )]
_TESTS = [