From 2fda4016aa082da057d08627c10f3ec49475c8b9 Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 11 Aug 2024 12:08:39 +0100 Subject: update timefree tests --- yt_dlp_plugins/extractor/radiko.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'yt_dlp_plugins/extractor') diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index fa5a15c..6c27973 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -375,22 +375,22 @@ class RadikoLiveIE(_RadikoBaseIE): class RadikoTimeFreeIE(_RadikoBaseIE): _VALID_URL = r"https?://(?:www\.)?radiko\.jp/#!/ts/(?P[A-Z0-9-_]+)/(?P\d+)" _TESTS = [{ - "url": "https://radiko.jp/#!/ts/INT/20240802230000", + "url": "https://radiko.jp/#!/ts/INT/20240809230000", "info_dict": { "live_status": "was_live", "ext": "m4a", - "id": "INT-20240802230000", + "id": "INT-20240809230000", "title": "TOKYO MOON", "series": "Tokyo Moon", "description": "md5:20e68d2f400a391fa34d4e7c8c702cb8", - "chapters": "count:15", + "chapters": "count:14", "thumbnail": "https://program-static.cf.radiko.jp/ehwtw6mcvy.jpg", - "upload_date": "20240802", - "timestamp": 1722607200.0, - "release_date": "20240802", - "release_timestamp": 1722610800.0, + "upload_date": "20240809", + "timestamp": 1723212000.0, + "release_date": "20240809", + "release_timestamp": 1723215600.0, "duration": 3600, "channel": "interfm", @@ -405,22 +405,22 @@ class RadikoTimeFreeIE(_RadikoBaseIE): }, }, { # late-night/early-morning show to test broadcast day checking - "url": "https://radiko.jp/#!/ts/TBS/20240803033000", + "url": "https://radiko.jp/#!/ts/TBS/20240810033000", "info_dict": { "live_status": "was_live", "ext": "m4a", - "id": "TBS-20240803033000", + "id": "TBS-20240810033000", "title": "CITY CHILL CLUB", "series": "CITY CHILL CLUB", "description": "md5:3fba2c1125059bed27247c0be90e58fa", - "chapters": "count:24", + "chapters": "count:22", "thumbnail": "https://program-static.cf.radiko.jp/ku7t4ztnaq.jpg", - "upload_date": "20240802", - "timestamp": 1722623400.0, - "release_date": "20240802", - "release_timestamp": 1722628800.0, + "upload_date": "20240809", + "timestamp": 1723228200.0, + "release_date": "20240809", + "release_timestamp": 1723233600.0, "duration": 5400, "channel": "TBSラジオ", -- cgit v1.2.3-70-g09d2