From 35d03751cb7fd6a4a73003ab170879a6a95403b9 Mon Sep 17 00:00:00 2001 From: bashonly Date: Tue, 3 Dec 2024 07:48:15 -0600 Subject: [PATCH] [ie/TheaterComplexTownPPV] Support `live` URLs Authored by: bashonly --- yt_dlp/extractor/stacommu.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/stacommu.py b/yt_dlp/extractor/stacommu.py index d2f207fcc..830018518 100644 --- a/yt_dlp/extractor/stacommu.py +++ b/yt_dlp/extractor/stacommu.py @@ -207,7 +207,7 @@ class TheaterComplexTownVODIE(TheaterComplexTownBaseIE): class TheaterComplexTownPPVIE(TheaterComplexTownBaseIE): - _VALID_URL = r'https?://(?:www\.)?theater-complex\.town/(?:(?:en|ja)/)?ppv/(?P\w+)' + _VALID_URL = r'https?://(?:www\.)?theater-complex\.town/(?:(?:en|ja)/)?(?:ppv|live)/(?P\w+)' IE_NAME = 'theatercomplextown:ppv' _TESTS = [{ 'url': 'https://www.theater-complex.town/ppv/wytW3X7khrjJBUpKuV3jen', @@ -229,6 +229,9 @@ class TheaterComplexTownPPVIE(TheaterComplexTownBaseIE): }, { 'url': 'https://www.theater-complex.town/ja/ppv/qwUVmLmGEiZ3ZW6it9uGys', 'only_matching': True, + }, { + 'url': 'https://www.theater-complex.town/en/live/79akNM7bJeD5Fi9EP39aDp', + 'only_matching': True, }] _API_PATH = 'events'