Greetings comrades.
In the recent e‐mails there was a discussion about downloads and the
‐‐content‐disposition experimental feature of wget. Curl already has
that feature, so I ported the standard wget command to curl.
#define DOWNLOAD(d, r) { \
.v = (char *[]){ "/bin/sh", "-c", \
"st -e /bin/sh -c \"curl -J -O --user-agent '$1'" \
" --referer '$2'" \
" -b ~/.surf/cookies.txt -c ~/.surf/cookies.txt '$0';" \
" sleep 5;\"", \
d, useragent, r, NULL \
} \
}
Please, try it out and report if I am missing something. I haven’t yet
investigated, if curl handles this has signing of webkit.
Sincerely,
Christoph Lohmann
Received on Sat Feb 02 2013 - 10:18:36 CET
This archive was generated by hypermail 2.3.0
: Sat Feb 02 2013 - 10:36:04 CET