For example, we have a next shared URL: https://disk.yandex.ru/d/0gRKgtGjqWil4g
-
Run
python main.py
-
Append the shared URL (or the part of it after the domain) and you can download the file/zipped dir from these URLs
- http://localhost:5000/d/0gRKgtGjqWil4g
- http://localhost:5000/https://disk.yandex.ru/d/0gRKgtGjqWil4g
- The file/zipped dir will start downloading
It's better to host it on the server with 'disk' subdomain, like disk.example.com
, so you can just change domain from disk.yandex.ru
to disk.example.com
and get a direct download link.
Check examples below with my self-hosted server!