Closed garret1317 closed 8 months ago
wasnt bad at all really - already had a check for station region not matching what we got just use lesmiscore's key grabbing thing and make the check throw an error
actually, hmm, this maybe fucks multi-region stations since the actual region can be different to the station's home region, but still work (also oof, didnt realise the force-pushing spams the issue like that)
i suppose if i dont want to just yolo it, i need a way of getting all the regions a station's available in during the indexing
^ that's if i want to change as little as possible
but i suppose i could just do what the site does and grab the stations for the region we have, eg https://radiko.jp/v3/station/list/JP14.xml that would likely be better, but needs actual changes just for the law-abiding-citizen mode (pain in the ass)
current (bypassing) extractor looks at the station and auths as an area it's in law abiding citizen mode would (likely) need to auth first, and then see what's available and that would likely involve a not-insubstantial rewrite we can get all regions a station is in with the mobile site's json blobs but i'd prefer not to go there if possible
hm yes ive said this before
i think this belongs in yt-dlp proper's extractor i might bring over some of the metadata stuff, and then there you go, law-abiding citizen mode and this one can be just for geo-block bypass and testing ground/bleeding edge
https://api.annex.radiko.jp/radiko.ProgramService/ListStations
protobuf response: ListStations.bin.gz https://protobuf-decoder.netlify.app/ equivalent of https://radiko.jp/v3/station/region/full.xml but with all regions and no ascii name
as the title says no geo bypass
pain to test lol (need to use vpn, thats exactly what i was trying to escape) will need to add stuff to:
probably not too excruciating but the extractor was written with the assumption that nothing will ever be blocked lol could maybe get it merged into dlp proper
also as a nice to have:
im not paying for it though (unless it works legit outside japan)