It would be nice to be able to set a user agent that's passed along to e.g. Prowlarr sources, since some of my sources for NZBs seem to block the default Python user agent (or more accurately, they only have a couple whitelisted user agents).
For now, I was able to copy the file for nzbget and add the useragent manually for both requests.post and request.get at lines 77 and 140 respectively, which seems to have done the job. But, it'd be nice to be able to have a solution which is secure across updates.
It would be nice to be able to set a user agent that's passed along to e.g. Prowlarr sources, since some of my sources for NZBs seem to block the default Python user agent (or more accurately, they only have a couple whitelisted user agents).
For now, I was able to copy the file for nzbget and add the useragent manually for both requests.post and request.get at lines 77 and 140 respectively, which seems to have done the job. But, it'd be nice to be able to have a solution which is secure across updates.