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.

Files for wldhx.yadisk-direct, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size wldhx.yadisk_direct-0.0.6-py3-none-any.whl (4.5 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size wldhx.yadisk-direct-0.0.6.tar.gz (15.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page