Quan666 / PikPakAPI

PikPak API
140 stars 42 forks source link

web_content_link - 404 issue - download not working #40

Closed bharathganji closed 4 months ago

bharathganji commented 4 months ago

steps to reproduce:

  1. fill username && password
  2. add this line to test.py - print(json.dumps(await client.get_download_url("your_file_id")))
  3. open link web_content_link - we can observe 404.

image

Quan666 commented 4 months ago

This is an unknown restriction imposed by Pikpak. There is no particularly good solution at present.

bharathganji commented 4 months ago

This is an unknown restriction imposed by Pikpak. There is no particularly good solution at present.

I can understand, so, currently we can't use download functionality right via api?

Quan666 commented 4 months ago

This is an unknown restriction imposed by Pikpak. There is no particularly good solution at present.

I can understand, so, currently we can't use download functionality right via api?

yes

pxia commented 4 months ago

Seems like they changed the api for single file download, and it now requires captcha.

Screenshot 2024-07-13 at 6 11 52 PM

Quan666 commented 4 months ago

Seems like they changed the api for single file download, and it now requires captcha.

Screenshot 2024-07-13 at 6 11 52 PM

yes,and you also need to log in through the web api

pxia commented 4 months ago

yes,and you also need to log in through the web api

What do you mean? We can still mimic it in python, right?

Quan666 commented 4 months ago

yes,and you also need to log in through the web api

What do you mean? We can still mimic it in python, right?

yes

qianye216 commented 4 months ago

yes,and you also need to log in through the web api

What do you mean? We can still mimic it in python, right?

yes

alist已经有人提交PR了,可以参考下? https://github.com/alist-org/alist/pull/6775

Quan666 commented 4 months ago

yes,and you also need to log in through the web api

What do you mean? We can still mimic it in python, right?

yes

alist已经有人提交PR了,可以参考下? alist-org/alist#6775

参考着修复了