ie, have the key, all the random info code, all in a separate file
then, e.g. the aSmartPhone8 branch can just be one file, if you want to be aSmartPhone7a or pc_html5 you can just swap out that one file
i think all you'd need is
key
auth1 info: X-Radiko-App, X-Radiko-App-Version, X-Radiko-Device, X-Radiko-User? User-Agent
auth2 info: X-Radiko-AuthTokenX-Radiko-LocationX-Radiko-ConnectionX-Radiko-PartialkeyX-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 it
X-Radiko-User is just random - but maybe could be overriden for eg premium support - note, dont know if premium actually uses this, haven't had the opportunity to look at it yet
ie, have the key, all the random info code, all in a separate file then, e.g. the
aSmartPhone8
branch can just be one file, if you want to beaSmartPhone7a
orpc_html5
you can just swap out that one filei think all you'd need is
key auth1 info:
X-Radiko-App
,X-Radiko-App-Version
,X-Radiko-Device
,X-Radiko-User
?User-Agent
auth2 info:X-Radiko-AuthToken
X-Radiko-Location
X-Radiko-Connection
X-Radiko-Partialkey
X-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 itX-Radiko-User
is just random - but maybe could be overriden for eg premium support - note, dont know if premium actually uses this, haven't had the opportunity to look at it yetwill have to think about this