python do not follow redirect -
I'm trying to get data from the
I tried:
r = requests.get ( "https://mobile.bet365.com/sport/default.aspx", allow_redirects = False) print Arktekst
but I always get to bypass the redirect? Any help would be greatly appreciated. Thank you
You should send language approved your request header:
Header = {"Accept-language": "N-US, N; Q = 0.5"} R = Requests. ( "Https://mobile.bet365.com/sport/default.aspx", headers = headers) print Arktekst
Comments
Post a Comment