diff options
author | garret <garret@airmail.cc> | 2024-08-05 07:16:02 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2024-08-05 07:16:02 +0100 |
commit | 76c3e466299b75fcb8e441654ac2fa1fcfcaced6 (patch) | |
tree | e7b3b76af77ded7acd4ea3eee7022b5f0eaec73c /yt_dlp_plugins/extractor | |
parent | 8691db47128ab9522ae8dffd1d7404a274947a91 (diff) | |
download | yt-dlp-rajiko-76c3e466299b75fcb8e441654ac2fa1fcfcaced6.tar.gz yt-dlp-rajiko-76c3e466299b75fcb8e441654ac2fa1fcfcaced6.tar.bz2 yt-dlp-rajiko-76c3e466299b75fcb8e441654ac2fa1fcfcaced6.zip |
don't inherit from RadikoBaseIE when not needed
Diffstat (limited to 'yt_dlp_plugins/extractor')
-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}[^\"']+)"] |