diff options
author | garret <garret@airmail.cc> | 2024-08-03 06:55:24 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2024-08-03 18:27:58 +0100 |
commit | 8691db47128ab9522ae8dffd1d7404a274947a91 (patch) | |
tree | 0b541c7f5c72319c777f6aab2fee3c525c1355df | |
parent | 240937726dc62884ffe977d8f0ab2dfc83bd2548 (diff) | |
download | yt-dlp-rajiko-8691db47128ab9522ae8dffd1d7404a274947a91.tar.gz yt-dlp-rajiko-8691db47128ab9522ae8dffd1d7404a274947a91.tar.bz2 yt-dlp-rajiko-8691db47128ab9522ae8dffd1d7404a274947a91.zip |
fix StationButton regex to allow for http:/wwww. like the others
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 2 |
1 files changed, 1 insertions, 1 deletions
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"<iframe[^>]+src=[\"'](?P<url>{_VALID_URL}[^\"']+)"] # supposedly it'll only allow a few stations from a few domains https://radiko.jp/res/app/external/web/playback_permission.json |