Oct-27-2020, 05:42 PM
Hi folks
I know how to download with the direct link, but we always have updates.
Could you please help me?
Best Regards
I know how to download with the direct link, but we always have updates.
import requests print ('Download') url = 'https://github.com/roundcube/roundcubemail/releases/download/1.4.9/roundcubemail-1.4.9-complete.tar.gz' r = requests.get (url) filename = url.split ('/') [- 1] with open (filename, 'wb') as output_file: output_file.write (r.content) print ('Download Completed')How can I download the latest version without having to copy the link and edit my script.
Could you please help me?
Best Regards