Skip to content

Commit

Permalink
[ie/TheaterComplexTownPPV] Support live URLs
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly committed Dec 3, 2024
1 parent a13a336 commit 35d0375
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yt_dlp/extractor/stacommu.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def _real_extract(self, url):


class TheaterComplexTownPPVIE(TheaterComplexTownBaseIE):
_VALID_URL = r'https?://(?:www\.)?theater-complex\.town/(?:(?:en|ja)/)?ppv/(?P<id>\w+)'
_VALID_URL = r'https?://(?:www\.)?theater-complex\.town/(?:(?:en|ja)/)?(?:ppv|live)/(?P<id>\w+)'
IE_NAME = 'theatercomplextown:ppv'
_TESTS = [{
'url': 'https://www.theater-complex.town/ppv/wytW3X7khrjJBUpKuV3jen',
Expand All @@ -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'
Expand Down

0 comments on commit 35d0375

Please sign in to comment.