I have been able to make it work with this,
DLAGENTS=("https::/usr/bin/curl -b '__cfduid=db393f5640a42541d09fb496e44eb58dd1611209318;\ csrftoken=4ea5c8xVjINrZG36JaFXre8gHL845obvuIwZgUfY8t9kcFT63CPamDgpYokMzQlJ;\ sessionid=lax0bk5w8xgc0wsu1ktpr8xhzk2uz01o' -A Mozilla/5.0\ (Windows\ NT\ 10.0\;\ rv\:78.0)\ Gecko/20100101\ Firefox/78.0 -fC - -o %o %u")
I opened the url once in a browser and copied the cookie set by the server. Then, I set this cookie in each request. Make sure to properly escape the spaces in the cookie.
And just Mozilla
for the UA header didn't seem to work so I also copied UA header from my browser. Again, Properly escaped and then it just worked. :)
It's not a good general solution for this but it might be helpful in case someone just needs to install this package.
Pinned Comments
caleb commented on 2020-09-11 11:02
Besides all the downloads having moved to a different filename scheme, the upstream is aggressively blocking non-browser downloads. If anybody knows how to make a curl work for these files let me know and I'll get it setup here. Note for example the one source currently listed works fine from a browser but not from curl.