summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/lcp.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/lcp.py')
-rw-r--r--yt_dlp/extractor/lcp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/lcp.py b/yt_dlp/extractor/lcp.py
index 6287419..69148be 100644
--- a/yt_dlp/extractor/lcp.py
+++ b/yt_dlp/extractor/lcp.py
@@ -66,7 +66,7 @@ class LcpIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
play_url = self._search_regex(
- r'<iframe[^>]+src=(["\'])(?P<url>%s?(?:(?!\1).)*)\1' % LcpPlayIE._VALID_URL,
+ rf'<iframe[^>]+src=(["\'])(?P<url>{LcpPlayIE._VALID_URL}?(?:(?!\1).)*)\1',
webpage, 'play iframe', default=None, group='url')
if not play_url: