SHARE
TWEET

python rs.ge requests

iraklidd Oct 23rd, 2019 133 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import requests
  2.  
  3. headers = {
  4.     'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36'
  5. }
  6.  
  7. login_data = {
  8.     'PageID': '068dacca-7e82-4f6a-9267-a51d168f7ff6',
  9.     'pageID': '068dacca-7e82-4f6a-9267-a51d168f7ff6',
  10.     'SessionID': 'oc3x4hkrhnplq0slbti4nzui',
  11.     'username': 'tbilisi',
  12.     'password': '123456',
  13.     'form_id': 'aspnetForm',
  14.     'latitude': '',
  15.     'longitude': '',
  16.     'check': '0',
  17.     'screen': '1366',
  18.     'vcode': ''
  19. }
  20.  
  21. with requests.Session() as s:
  22.     url = 'https://eservices.rs.ge/Login.aspx/'
  23.     r = s.get(url, headers=headers)
  24.     r = s.post(url, data=login_data, headers=headers)
  25.     print(r.content)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top