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

I have a problem with curling #94

Open
MaxaAI opened this issue Dec 18, 2023 · 1 comment
Open

I have a problem with curling #94

MaxaAI opened this issue Dec 18, 2023 · 1 comment

Comments

@MaxaAI
Copy link

MaxaAI commented Dec 18, 2023

When i run the 3rd cell i get this error

Traceback (most recent call last):
File "/usr/local/bin/yadisk-direct", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/wldhx/yadisk_direct/main.py", line 23, in main
print([get_real_direct_link(x) for x in args.sharing_link], sep=args.separator)
File "/usr/local/lib/python3.10/dist-packages/wldhx/yadisk_direct/main.py", line 23, in
print(
[get_real_direct_link(x) for x in args.sharing_link], sep=args.separator)
File "/usr/local/lib/python3.10/dist-packages/wldhx/yadisk_direct/main.py", line 12, in get_real_direct_link
return pk_request.json()['href']
KeyError: 'href'
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

How am i able to fix it?

@ashish-gupta-99
Copy link

ashish-gupta-99 commented Jan 24, 2024

I think we should download models using wget from github release, instead of curling from 3rd party site:
https://disk.yandex.com
you can directly download models from above site, by pating curl url in browser.

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

2 participants