diff --git a/public/bin/shellshare b/public/bin/shellshare index 2609ebe..9f52c6e 100755 --- a/public/bin/shellshare +++ b/public/bin/shellshare @@ -182,6 +182,9 @@ if platform.system() == 'Windows': ) if should_download.lower() not in {'', 'y', 'yes'}: exit(0) + opener = url_req.build_opener() + opener.addheaders = [('User-Agent', 'Mozilla/5.0')] + url_req.install_opener(opener) url_req.urlretrieve(script_url, script_path) else: # Use OS version of script