Skip to content

I have a problem with curling #94

@MaxaAI

Description

@MaxaAI

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions