From 8691db47128ab9522ae8dffd1d7404a274947a91 Mon Sep 17 00:00:00 2001 From: garret Date: Sat, 3 Aug 2024 06:55:24 +0100 Subject: fix StationButton regex to allow for http:/wwww. like the others --- yt_dlp_plugins/extractor/radiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp_plugins/extractor') diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 17de85c..4051e14 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -633,7 +633,7 @@ class RadikoShareIE(_RadikoBaseIE): class RadikoStationButtonIE(_RadikoBaseIE): - _VALID_URL = r"https://radiko\.jp/button-embed/live/" + _VALID_URL = r"https?://(?:www\.)?radiko\.jp/button-embed/live/" _EMBED_REGEX = [fr"]+src=[\"'](?P{_VALID_URL}[^\"']+)"] # supposedly it'll only allow a few stations from a few domains https://radiko.jp/res/app/external/web/playback_permission.json -- cgit v1.2.3-70-g09d2