last day (15 days later) » 

2:39 PM
1
A: Requests Update Browser

ammarxAdd your user agent to the header of the request with headers = { 'User-Agent': 'YOUR USER AGENT', } response = requests.get(url, headers=headers) You can get your user agent from many websites like this. Edit If the solution above doesn't work for you, which might be because you are us...

 
This is not working, still getting same error.
 
Try this user agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36. Does it work?
 
Still getting same error.
 
I've edited the answer. See if it works now
 
Still getting same error,here is the code i am currently using pastebin.com/gnDdaa8L
 
2:39 PM
Print response.request.headers, and show it here
 
{'Connection': 'keep-alive', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36'}
 
Ok. Print response.headers
 
{'X-Content-Type-Options': 'nosniff', 'Content-Encoding': 'gzip', 'Transfer-Encoding': 'chunked', 'Set-Cookie': '__cfduid=d9743f377789b39b6381d32eff1d47dc51510411293; expires=Sun, 11-Nov-18 14:41:33 GMT; path=/; domain=.sit2play.com; HttpOnly', 'Strict-Transport-Security': 'max-age=15552000; preload',
'Server': 'cloudflare-nginx', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache', 'Date': 'Sat, 11 Nov 2017 14:41:33 GMT', 'CF-RAY': '3bc2035659ea3ccb-CPH', 'Content-Type': 'text/html; charset=utf-8'}
 
Ok. Try this one:

response = requests.get(url, headers=headers, cookies={})

instead of:

response = requests.get(url, headers=headers)
 
did not help, still getting "The browser you're using is not supported"
 
3:09 PM
Ok. Try this code: pastebin.com/TbCSsARz
 
same error
 
Then sorry; this is all I know
 
Thank you anyway :) good day
 
Welcome
 

last day (15 days later) »