aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test_tokens.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-08-15 22:42:51 +0100
committergarret <garret@airmail.cc>2023-08-15 22:45:56 +0100
commit1f25017782f42dafcf1a7612fce8b28fe23ff76c (patch)
treebff0d671495ba73ed6907a8981abc5861e60ff42 /tests/test_tokens.py
parent7700d64ab8f344c9d4b15d83bfe48b5914bf5461 (diff)
downloadyt-dlp-rajiko-1f25017782f42dafcf1a7612fce8b28fe23ff76c.tar.gz
yt-dlp-rajiko-1f25017782f42dafcf1a7612fce8b28fe23ff76c.tar.bz2
yt-dlp-rajiko-1f25017782f42dafcf1a7612fce8b28fe23ff76c.zip
Add timefree availability check
afaict nhk doesn't have timefree, and it says as much on the programme pages The download doesn't fail though, you just get a loop of elevator music and an apology that it's not available (lasting the duration of the programme) from tsDetail.js tsInNg = playable in the area tsOutNg = playable outside the area (maybe - just a guess really, but seems to line up) outside station area + playable in area + not playable outside = not available in your area outside station area + not playable in area + not playable outside area = not available on timefree inside station area + not playable in area = not available on timefree we'll always be in the station area, so we only have to check tsInNg included a message about NHK Radiru because so far i've only seen NHK programmes be unavailable one day i should make the programme_meta func return a dict or something instead of just adding stuff on the end ad infinitum closes #15
Diffstat (limited to 'tests/test_tokens.py')
0 files changed, 0 insertions, 0 deletions