Introduction
Introduction Statistics Contact Development Disclaimer Help
index.md - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
index.md (425B)
---
1 # aria2c
2
3 To use aria2 instead of curl as default download manager, just replace
4 the DOWNLOAD function like this in config.h:
5
6 /* DOWNLOAD(URI, referer) */
7 #define DOWNLOAD(d, r) { \
8 .v = (char *[]){ "/bin/sh", "-c", \
9 "cd ~/Telechargements;"\
10 "st -e /bin/sh -c \"aria2c -U '$1'" \
11 " --referer '$2' --load-cookies $3 --save-cookie…
12 " sleep 3;\"", \
13 d, useragent, r, cookiefile, NULL \
14 } \
15 }
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.