Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 735 Bytes

README.rst

File metadata and controls

34 lines (21 loc) · 735 Bytes

Yandex.Disk direct links extractor

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.