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.
Release files for wldhx.yadisk-direct 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wldhx.yadisk-direct-0.0.6.tar.gz | 15.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wldhx.yadisk_direct-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / wldhx.yadisk-direct-0.0.6.tar.gz
| Download URL | wldhx.yadisk-direct-0.0.6.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9556d651676878e5205c7e53ceb82a70cbc67b6a8c44766ee25365d72381bff
|
|
BLAKE2b-256 checksum How to use checksums |
f0c6c2742f15e2c9ceec87856c398efafd70c2f22c8012c591fe72753b67382d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / wldhx.yadisk_direct-0.0.6-py3-none-any.whl
| Download URL | wldhx.yadisk_direct-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
368f1bc62b48c9d363cfb97be4e14c5df8a4af3bbc0e7f496358fbe59a5b7979
|
|
BLAKE2b-256 checksum How to use checksums |
20a9e14d8abec847b839d95d131dede68aa03c0bd3ca6485cca406550dfa2a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |