Answer the question
In order to leave comments, you need to log in
Why is the site giving a 429 error?
I send a request to the site for authorization, I tried to change both the proxy and the user-agent, but it still gives an error
code 429:
headers = {
'accept': 'application/json, text/plain, */*',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7',
'content-type': 'application/x-www-form-urlencoded;charset=UTF-8',
'device': 'webapp_desktop',
'origin': 'https://www.adoreme.com',
'referer': 'https://www.adoreme.com/',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
'user-agent':'Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.8.0.11) Gecko/20070327 Ubuntu/dapper-security Firefox/1.5.0.11'
}
data = {
'email': '[email protected]',
'password': 'ergtrgrtgtr'
}
proxies = {'http':'http://128.199.202.122:8080'}
r = requests.post('https://www.adoreme.com/rest_v6/customer/login',data=data,proxies=proxies,headers=headers)
print(r.status_code)
Answer the question
In order to leave comments, you need to log in
429 common error Too Many Requests
Most likely in the ban either the login or the user agent
Proxy http - proxies = {'http':' 128.199.202.122:8080 '}
and site https - ' https://www.adoreme.com/rest_v6/customer/login
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question