diff options
Diffstat (limited to 'yt_dlp_plugins')
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 4051e14..b76387d 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -523,7 +523,7 @@ class RadikoTimeFreeIE(_RadikoBaseIE): } -class RadikoSearchIE(_RadikoBaseIE): +class RadikoSearchIE(InfoExtractor): _VALID_URL = r"https?://(?:www\.)?radiko\.jp/#!/search/(?:timeshift|live|history)\?" _TESTS = [{ # timefree, specific area @@ -590,7 +590,7 @@ class RadikoSearchIE(_RadikoBaseIE): "entries": results, } -class RadikoShareIE(_RadikoBaseIE): +class RadikoShareIE(InfoExtractor): _VALID_URL = r"https?://(?:www\.)?radiko\.jp/share/" _TESTS = [{ # 29-hour time -> 24-hour time @@ -632,7 +632,7 @@ class RadikoShareIE(_RadikoBaseIE): return self.url_result(f"https://radiko.jp/#!/ts/{station}/{time}", RadikoTimeFreeIE) -class RadikoStationButtonIE(_RadikoBaseIE): +class RadikoStationButtonIE(InfoExtractor): _VALID_URL = r"https?://(?:www\.)?radiko\.jp/button-embed/live/" _EMBED_REGEX = [fr"<iframe[^>]+src=[\"'](?P<url>{_VALID_URL}[^\"']+)"] |