Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web_content_link - 404 issue - download not working #40

Closed
bharathganji opened this issue Jul 13, 2024 · 9 comments
Closed

web_content_link - 404 issue - download not working #40

bharathganji opened this issue Jul 13, 2024 · 9 comments

Comments

@bharathganji
Copy link

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
Copy link
Owner

Quan666 commented Jul 13, 2024

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

@bharathganji
Copy link
Author

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
Copy link
Owner

Quan666 commented Jul 13, 2024

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
Copy link
Contributor

pxia commented Jul 14, 2024

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
Copy link
Owner

Quan666 commented Jul 14, 2024

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
Copy link
Contributor

pxia commented Jul 14, 2024

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
Copy link
Owner

Quan666 commented Jul 14, 2024

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
Copy link

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了,可以参考下?
AlistGo/alist#6775

Quan666 added a commit that referenced this issue Jul 14, 2024
@Quan666
Copy link
Owner

Quan666 commented Jul 14, 2024

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

参考着修复了

@Quan666 Quan666 closed this as completed Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants