I use a python script to download a file from a website periodically. I want to move this process to my virtual server. How do I do this?
This is the code I use
import webbrowser
url = 'https://www.djppr.kemenkeu.go.id/page/loadViewer?idViewer=9369&action=download'
chrome_path = 'C:/Program Files/Google/Chrome/Application/chrome.exe %s' #Windows
webbrowser.get(chrome_path).open(url)
Visiting the link results in the file being automatically downloaded onto my PC. The issue is that there is no "chrome browser" on my virtual server. I also don't know whether it will save the file as it does on my PC.