Skip to main content

Get real direct links usable with tools like curl or wget for files stored in Yandex.Disk

Project description

Get real direct links usable with tools like curl or wget for files stored in Yandex.Disk.

Usage

Install with:

pip3 install wldhx.yadisk-direct

Get a real direct link:

yadisk-direct https://yadi.sk/i/LKkWupFjr5WzR

Download a file with a one-liner:

curl -L $(yadisk-direct https://yadi.sk/i/LKkWupFjr5WzR) -o my_local_filename

Disclaimer

While this code depends on an open Yandex’s API, I heartily recommend you to not use it in anything resembling production environments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wldhx.yadisk-direct-0.0.6.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

wldhx.yadisk_direct-0.0.6-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page