diff options
author | garret <garret@airmail.cc> | 2023-10-25 11:26:07 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2023-10-25 11:26:07 +0100 |
commit | 840f19748f1c640bf5e8447d2c5a487347c2cdd3 (patch) | |
tree | bba759864c27f1b082e559b26d920162135cf40e /yt_dlp_plugins/extractor | |
parent | bdc6effe398249a87405a256dc4c310dee8a71f3 (diff) | |
download | yt-dlp-rajiko-840f19748f1c640bf5e8447d2c5a487347c2cdd3.tar.gz yt-dlp-rajiko-840f19748f1c640bf5e8447d2c5a487347c2cdd3.tar.bz2 yt-dlp-rajiko-840f19748f1c640bf5e8447d2c5a487347c2cdd3.zip |
update live tests
housou daigaku is going away soon, so switching to radio nikkei
https://www.ouj.ac.jp/news/2023/information/5-32-2.html
Diffstat (limited to 'yt_dlp_plugins/extractor')
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 395eb15..6a5ccd5 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -580,7 +580,7 @@ class RadikoLiveIE(_RadikoBaseIE): "channel_url": "https://www.tfm.co.jp/", "channel": "TOKYO FM", "channel_id": "FMT", - + "uploader": "TOKYO FM", }, }, { # JP1 (Hokkaido) @@ -596,22 +596,24 @@ class RadikoLiveIE(_RadikoBaseIE): "channel": "FM NORTH WAVE", "channel_url": "https://www.fmnorth.co.jp/", "channel_id": "NORTHWAVE", + 'uploader': "FM NORTH WAVE", }, }, { # ALL (all prefectures) - # api still specifies a prefecture though, in this case JP12 (Chiba), so that's what it auths as - "url": "https://radiko.jp/#!/live/HOUSOU-DAIGAKU", + # api still specifies a prefecture though, in this case JP13 (Tokyo), so that's what it auths as + "url": "https://radiko.jp/#!/live/RN1", "info_dict": { - "id": "HOUSOU-DAIGAKU", + "id": "RN1", "ext": "m4a", - "title": "re:^放送大学.+$", - "live_status": "is_live", - "uploader_url": "https://www.ouj.ac.jp/", - "alt_title": "HOUSOU-DAIGAKU", - "thumbnail": "https://radiko.jp/res/banner/HOUSOU-DAIGAKU/20150805145127.png", - "channel": "放送大学", - "channel_url": "https://www.ouj.ac.jp/", - "channel_id": "HOUSOU-DAIGAKU", + "title": "re:^ラジオNIKKEI第1.+$", + 'uploader_url': 'http://www.radionikkei.jp/', + 'thumbnail': 'https://radiko.jp/res/banner/RN1/20120802154152.png', + 'live_status': 'is_live', + 'channel_id': 'RN1', + 'alt_title': 'RADIONIKKEI', + 'uploader': 'ラジオNIKKEI第1', + 'channel': 'ラジオNIKKEI第1', + 'channel_url': 'http://www.radionikkei.jp/', }, }] |