Biligrab icon indicating copy to clipboard operation
Biligrab copied to clipboard

biligrab's appkey is blocked again.

Open persmule opened this issue 8 years ago • 8 comments

DEBUG:root:{"code":-1,"error":"app has been blocked."} DEBUG:root:Bilibili API: {"code":-1,"error":"app has been blocked."}

persmule avatar Apr 25 '16 02:04 persmule

shoot。

cnbeining avatar Apr 25 '16 02:04 cnbeining

Should be fixed...

cnbeining avatar Apr 25 '16 02:04 cnbeining

It seems bilidan utilizes some form of obscuration.

persmule avatar Apr 25 '16 02:04 persmule

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.

cnbeining avatar Apr 25 '16 02:04 cnbeining

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.

m13253 avatar Apr 26 '16 01:04 m13253

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

cnbeining avatar Apr 26 '16 01:04 cnbeining

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}

arition avatar May 20 '16 04:05 arition

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.

cnbeining avatar May 20 '16 04:05 cnbeining