From 2a47a5a3f9f27fac855321f0ccbf553b74242124 Mon Sep 17 00:00:00 2001 From: dirkf Date: Mon, 14 Nov 2022 16:28:24 +0000 Subject: [PATCH] `_EMBED_REGEX` --- youtube_dl/extractor/panopto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/panopto.py b/youtube_dl/extractor/panopto.py index ee708684f..beb46f5ae 100644 --- a/youtube_dl/extractor/panopto.py +++ b/youtube_dl/extractor/panopto.py @@ -116,7 +116,7 @@ class PanoptoBaseIE(InfoExtractor): class PanoptoIE(PanoptoBaseIE): _VALID_URL = PanoptoBaseIE.BASE_URL_RE + r'/Pages/(Viewer|Embed)\.aspx.*(?:\?|&)id=(?P[a-f0-9-]+)' - __EMBED_REGEX = [ + _EMBED_REGEX = [ r''']+src=["\'](?P%s/Pages/(Viewer|Embed|Sessions/List)\.aspx[^"']+)''' % (PanoptoBaseIE.BASE_URL_RE, )] _TESTS = [