Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sbradnick
surf
DOWNLOAD.config.def.h.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File DOWNLOAD.config.def.h.diff of Package surf
--- config.def.h.orig 2022-10-04 19:26:18.314074956 -0400 +++ config.def.h 2022-10-04 19:29:55.206790194 -0400 @@ -78,11 +78,13 @@ } /* DOWNLOAD(URI, referer) */ -#define DOWNLOAD(u, r) { \ - .v = (const char *[]){ "st", "-e", "/bin/sh", "-c",\ - "curl -g -L -J -O -A \"$1\" -b \"$2\" -c \"$2\"" \ - " -e \"$3\" \"$4\"; read", \ - "surf-download", useragent, cookiefile, r, u, NULL \ +#define DOWNLOAD(d, r) { \ + .v = (char *[]){ "/usr/bin/sh", "-c", \ + "cd ~/Downloads;"\ + "st -e /usr/bin/sh -c \"aria2c -U '$1'" \ + " --referer '$2' --load-cookies $3 --save-cookies $3 '$0';" \ + " sleep 3;\"", \ + d, useragent, r, cookiefile, NULL \ } \ }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor