nvcleanstall: new url scheme
Upstreams uses a new URL scheme and server.
Changed subdomain: nl2-dl. -> nl1-dl.
New scheme: File in subdir 6sNxOc258nbDF0KZqi5bBQ/1706144967.
It's not immediately obvious how the subdir name is generated.
This will break autoupdate most likely, previous versions are in different (random?) subdirs.
Relates to #12651 #12650 #12517 #12549
- [x] I have read the Contributing Guide.
That URL is not permanent, if I try access I get a 410 Gone response:
curl -I https://nl1-dl.techpowerup.com/files/6sNxOc258nbDF0KZqi5bBQ/1706144967/NVCleanstall_1.16.0.exe#/NVCleanstall.exe
HTTP/1.1 410 Gone
Server: nginx/1.24.0
Date: Thu, 15 Feb 2024 19:15:17 GMT
Content-Type: text/html
Content-Length: 187
Connection: keep-alive
ETag: "58f0ebac-bb"
We must find a way to retrieve mutable URLs based on a server if possible
@W1zzardTPU Sorry for pinging, but could you allow downloading via scoop?
No worries, always happy to help.
https://github.com/ScoopInstaller/Extras/issues/6754#issuecomment-927651395
This should still work
@W1zzardTPU Old url scheme:
aria2c https://nl1-dl.techpowerup.com/files/NVCleanstall_1.16.0.zip --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/5.1 (Windows NT 10.0; Win64; x64; Desktop)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=7100 --continue --summary-interval=0 --auto-save-interval=1
08/09 13:25:09 [ERROR] CUID#8 - Download aborted. URI=https://nl1-dl.techpowerup.com/files/NVCleanstall_1.16.0.zip
Exception: [AbstractCommand.cc:351] errorCode=3 URI=https://nl1-dl.techpowerup.com/files/NVCleanstall_1.16.0.zip
-> [HttpSkipResponseCommand.cc:218] errorCode=3 Resource not found
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
f6794c|ERR | 0B/s|https://nl1-dl.techpowerup.com/files/NVCleanstall_1.16.0.zip
Status Legend:
(ERR):error occurred.
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
aria2c https://nl1-dl.techpowerup.com/files/ThrottleStop_9.4.2.zip --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/5.1 (Windows NT 10.0; Win64; x64; Desktop)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=7100 --continue --summary-interval=0 --auto-save-interval=1
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
723b13|OK | 0B/s|C:/Users/Mateusz/Downloads/ThrottleStop_9.4.2.zip
Status Legend:
(OK):download completed.
New url scheme:
aria2c https://nl1-dl.techpowerup.com/files/cKd2GZiEBAUkE7douQeWtw/1723246815/NVCleanstall_1.16.0.exe --user-agent='Scoop/1.0' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=7100 --continue --summary-interval=0 --auto-save-interval=1
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
b152c1|OK | 0B/s|C:/Users/Mateusz/Downloads/NVCleanstall_1.16.0.exe
Status Legend:
(OK):download completed.
Downloading ThrottleStop works, but NVCleanstall can not be downloaded. I tested all download servers.
Also I changed user-agent to Scoop/1.0 or Scoop/asdf
but NVCleanstall can not be downloaded
Because the filename is NVCleanstall_1.16.0.exe, not .zip :)
There is no new URL scheme, that part of the URL is a hash of your IP + timestamp + salt, to avoid hotlinking.
curl -I --user-agent "Scoop/asdf" http://us2-dl.techpowerup.com/files/NVCleanstall_1.16.0.exe
HTTP/1.1 200 OK
Server: nginx/1.24.0 (Ubuntu)
Date: Fri, 09 Aug 2024 11:48:14 GMT
Content-Type: application/octet-stream
Content-Length: 3934936
Last-Modified: Wed, 29 Nov 2023 16:15:26 GMT
Connection: keep-alive
ETag: "6567639e-3c0ad8"
Accept-Ranges: bytes
Verified it works, thank you @niheaven, @Daviteusz and @W1zzardTPU !