scripts-github-mirror/net/DownloadHelper
tianyu 48a85c712c Update README.md 2015-06-10 22:04:38 +08:00
..
.gitignore move to sub dir 2015-06-10 21:39:31 +08:00
README.md Update README.md 2015-06-10 22:04:38 +08:00
config.json.example move to sub dir 2015-06-10 21:39:31 +08:00
index2link.py move to sub dir 2015-06-10 21:39:31 +08:00
mirror.py move to sub dir 2015-06-10 21:39:31 +08:00

README.md

###DownloadHelper###

This can convert nginx auto index page to download links for aria2c, can add mirrors(nginx proxy) to the link too.

files servered by nginx (https with basic auth) => mirrors (nginx proxy) =>
index2list.py(copy generated links) => webui-aria2(local aria2c) => HDD/SSD

python requests SNI support:

pip install pyOpenSSL
pip install ndg-httpsclient
pip install pyasn1

nginx proxy config exmaple

I suggest you set proxy_buffering off, otherwise mirrors will use huge bandwidth to cache files.

location /downloads/ {
    proxy_buffering off;
    proxy_pass https://www.xxx.com/downloads/;
}