2024-04-03
how auth works currently:

we manipulate the location info to place ourselves wherever we want, ie place ourselves right in the middle of tokyo to get a JP13 token.
the boxes represent getting stuff from some other variable/function, and yeah i think they can definitely be split off to somewhere else
What we need:
REGION variable, set by the extractor for auth2/whatever to useFULLKEY variable, the key as bytesauth1 - a dict of headers you’d like to send for auth1, will also be sent to auth2.X-Radiko-User is just random - but maybe could be overriden for eg premium supportauth2 dict of headers you’d like to send for auth2X-Radiko-AuthToken can be done by the main thing, that’s just “send what you got from auth1”X-Radiko-Partialkey could also be done in the main one - just gib the key and let the main extractor handle it2025-07-09
probably won't bother