@AlexaAioGram

Как авторизоваться на remonline?

Как авторизоваться на https://web.remonline.app/login, это помойму не возможно, указал все хэйдерсы, правильные данные для входа, и все ровно...

Выдаёт ошибку 403

url = 'https://web.remonline.app/login'
login = '123123@gmail.com'
password = '123123'

users1 = fake_useragent.UserAgent().random

data = {
    'login': ''
}

header = {
    'authority': 'web.remonline.app',
    'method': 'GET',
    'path': '/login',
    'scheme': 'https',
    'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
    'accept-encoding': 'gzip, deflate, br',
    'accept-language': 'ru,en;q=0.9,en-GB;q=0.8,en-US;q=0.7',
    'cookie': 'sbjs_migrations=1418474375998%3D1; sbjs_first_add=fd%3D2022-04-21%2015%3A09%3A57%7C%7C%7Cep%3Dhttps%3A%2F%2Fremonline.app%2Fdocs%2Fapi%2F%7C%7C%7Crf%3D%28none%29; sbjs_first=typ%3Dtypein%7C%7C%7Csrc%3D%28direct%29%7C%7C%7Cmdm%3D%28none%29%7C%7C%7Ccmp%3D%28none%29%7C%7C%7Ccnt%3D%28none%29%7C%7C%7Ctrm%3D%28none%29; ro.mrkt=%7B%22typ%22%3A%22typein%22%2C%252src%22%3A%22%28direct%29%22%2C%22mdm%22%3A%22%28none%29%22%2C%22cmp%22%3A%22%28none%29%22%2C%22cnt%22%3A%22%28none%29%22%2C%22trm%22%3A%22%28none%29%22%7D; _gcl_au=1.1.t694151301.1650542998; _fbp=fb.1.1650542998389.698803426; ro.lang=ru; _ga=GA1.3.1537223159.1650542998; intercom-id-m9tr4b75=5ab0e98b-5652-48a9-89ee-c78150e8b190; sbjs_current_add=fd%3D2022-04-30%2020%3A30%3A54%7C%7C%7Cep%3Dhttps%3A%2F%2Fremonline.app%2F%7C%7C%7Crf%3Dhttps%3A%2F%2Fyandex.ru%2F; sbjs_current=typ%3Dreferral%7C%7C%7Csrc%3Dyandex.ru%7C%7C%7Cmdm%3Dreferral%7C%7C%7Ccmp%3D%28none%29%7C%7C%7Ccnt%3D%2F%7C%7C%7Ctrm%3D%28none%29; sbjs_udata=vst%3D12%7C%7C%7Cuip%3D%28none%29%7C%7C%7Cuag%3DMozilla%2F5.0%20%28Windows%20NT%2010.0%3B%20Win64%3B%20x64%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%20Chrome%2F100.0.4896.127%20Safari%2F537.36%20Edg%2F100.0.1185.50; _gid=GA1.2.1351002339.1651339858; ro.tzo=-180; ac=100; token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE2ODA5OSwiZXhwIjoxNjUxMzQzNjQ1LCJpYXQiOjE2NTEzNDAwNDUsImp0aSI6IjMzZDdkZDM0LTMwYmItNDA4Yy1htMjY5LTFmNGZlN2U1ZWUt5MCIsIm5iZiI6MTY1MTM0MDA0NSwiZW1wbG95ZWVfaWQiOjE3MTtAzOH0.t8-KFUhSrlzfVtUkSFk3jFO1b5dfJK7CGIbGCGce-i4o; csrftoken=bSZ6Qsvw7VEZQCr7tYTVxcsFlbqzWtKQvSMuTOQQqLb7J5ugugFFVw1ZuygymTEr; amplitude_idremonline.app=eyJkZXZpY2VJZCI6IjQ0YzY3MzdkLWVkNjEtNDMyMS1hOTE2LWFjOGUzMjIyNWExYVIiLCJ1c2VySWQiOiI5MTQzNyIsIm9wdE91dCI6ZmFsc2UsInNlct3Npb25JZCI6MTY1MTM0MDA0OTQzOCwibGFzdEV2ZW50VGltZSI6MTY1MTM0MDA0OTQzOCwiZXZlbnRJZCI6MCwiaWRlbnRpZnlJZCI6MCwic2VxdWVuY2VOdW1iZXIiOjB9; intercom-session-m9tr4b75=VlF1N2dHdWxoOTJPNHNmL243OGNwS3B5Z0sxM2d2NGExVmptNnJCSTRxM0pOcTI2OTMwelMwVVlOeHVmSHBtdy0tb3pLR1BadHNkaHBtNVNFTzNLZ25UUT09--9ee9c7889e380e51c9594cfc1ce2b027c839e65e; sbjs_session=pgs%3D2%7C%7C%7Ccpg%3Dhttps%3A%2F%2Fremonline.app%2F; ro.lang=ru; _dc_gtm_UA-37692829-3=1; _ga_ZKR08ZLCTC=GS1.1.1651339857.15.1.1651340058.52; _ga=GA1.1.1537223159.1650542998',
    'referer': 'https://remonline.app/',
    'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="100", "Microsoft Edge";v="100"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
    'sec-fetch-dest': 'document',
    'sec-fetch-mode': 'navigate',
    'sec-fetch-site': 'same-site',
    'sec-fetch-user': '?1',
    'upgrade-insecure-requests': '1',
    'user-agent': f'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 Edg/100.0.1185.50'
}

s = requests.Session()

res = s.post(url, auth=(login, password), headers=header)
print(res.status_code)


Кто скиловый в этих делах парсинга, подскажите что делать
  • Вопрос задан
  • 104 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы