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 details)
Built Distribution
File details
Details for the file wldhx.yadisk-direct-0.0.6.tar.gz
.
File metadata
- Download URL: wldhx.yadisk-direct-0.0.6.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9556d651676878e5205c7e53ceb82a70cbc67b6a8c44766ee25365d72381bff |
|
MD5 | a3e7a9d40a772a20aecbc73d7d9ef177 |
|
BLAKE2b-256 | f0c6c2742f15e2c9ceec87856c398efafd70c2f22c8012c591fe72753b67382d |
Provenance
File details
Details for the file wldhx.yadisk_direct-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: wldhx.yadisk_direct-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 368f1bc62b48c9d363cfb97be4e14c5df8a4af3bbc0e7f496358fbe59a5b7979 |
|
MD5 | 0def32ac271529383ddf2825cf5fdf3e |
|
BLAKE2b-256 | 20a9e14d8abec847b839d95d131dede68aa03c0bd3ca6485cca406550dfa2a3a |