Forum Archive

Webbrowser native set user-agent

sam rod
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'}
    webbrowser.open(authorize_url, new=1, autoraise=True,headers=headers)

is just that the user still untrusted 🙄

sam rod

no problem