Biligrab
Biligrab copied to clipboard
biligrab's appkey is blocked again.
DEBUG:root:{"code":-1,"error":"app has been blocked."} DEBUG:root:Bilibili API: {"code":-1,"error":"app has been blocked."}
shoot。
Should be fixed...
It seems bilidan utilizes some form of obscuration.
Not really, and I am not really fond of that.
Since we can get the key from a sh*tload of sources, it makes no sense to hide anything within this project: just pointless.
Perhaps we can parse the files on a server? That will not expose our appkeys.
Just a hint: The official Bilibili mobile app uses different keys for request and signing. The latter was calculated from the current date and time. And the signing algorithm is different from what is documented.
As discussed with soimort, I do not want to run any server-side stuff to make anything running.
For now I am using their own key pair. And for now I am not very interested in changing the whole algorithm- let's wait and see.
2016年4月25日星期一,Star Brilliant [email protected] 写道:
Perhaps we can parse the files on a server? That will not expose our appkeys.
Just a hint: The official Bilibili mobile app uses different keys for request and signing. The latter was calculated from the current date and time. And the signing algorithm is different from what is documented.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/cnbeining/Biligrab/issues/28#issuecomment-214577065
I cannot fetch the video now. Seems that they have changed the sign algorithm?
DEBUG: [2422130]
INFO:root:You are downloading all the parts in this video...
DEBUG:root:BiliURL: https://api.bilibili.com/view?appkey=c1b107428d337928&id=2422130&type=xml
INFO:root:Fetching api to read video info...
DEBUG:root:{"code":-3,"message":"API sign invalid","ts":1463717923}
DEBUG:root:Bilibili API: {"code":-3,"message":"API sign invalid","ts":1463717923}
No.
They are just banning all the 3rd party API keys.
https://github.com/soimort/you-get/blob/6b9e2978908fa1f55866b4c65d619756adc08cfe/src/you_get/extractors/bilibili.py#L14
Sigh.