Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings.
Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
I'm creating a python script on windows that will download the portable zip version and extract it to a neutral folder name (without version numbers), in place of the folder I have it running from.
I pretty much had everything working the way I wanted it until I realized the web link will always point to version 4.1.0
is there a weblink that will always point to the latest portable release?
so your first link takes me to the GitHub page where I'd need to somehow have the right zip file selected, and that zip file will always have a newer filename with the version number.
the better link you provided opens up a wall of text, I tried looking through the links but they all seem to point directly to version 4.1.0
most linux distros would have a repo or an app image, so kinda pointless. would building self/auto update into sabnzbd be a possible thing? would running it from source be a better option? would i be able to script / automate the update process???
import urllib.request, json
myurl = "https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest"
with urllib.request.urlopen(myurl) as url:
data = json.load(url)
for j in data['assets']:
print(j["browser_download_url"])
Droyellis wrote: ↑November 9th, 2023, 6:22 pm
thanks heaps for that, its a good start. how would i automate the download of the latest win64-bin.zip regardless of listed version number?
In your OP you said "I pretty much had everything working the way I wanted it until I realized the web link will always point to version 4.1.0", so I'm surprised by your question.
and yet the new web link still points to version 4.1.0, we're still at square one.
I asked for help, you didn't have to... "help"
I understand that script will always parse the latest results, I'd still need code to process newer links with newer version numbers. I'll start figuring out how to use json, you don't have to help if you don't want to.
just so I know for sure tho, this is the general help section isn't it?
Droyellis wrote: ↑November 10th, 2023, 1:01 am
No I want a link in the script to always download the latest version. So that when 4.2 is released my script will update