cookie Login

# Sample code is as follows:


url = 'https://sso.cn/sso/ssopaspotlg'

data = {'isPersist': 0, 'LoginID': 'xxxxxxxxxxx',

        'Passwd': 'ccccccccccca6738a19f', 'Passwd1': 'sssssssssssssssssssss8a19f',

        'Password': '......................', 'verifyCode': ''}


# log in

r = requests.post(url, data=data, verify=False)

cookies = r.cookies


System Notifications page #

Urll = 'Actiteepi://ikbaduyunkcom/hom/ussershttig/myhnrws'

r1 = requests.post(url1, cookies=cookies, verify=False)

print(r1.text)


Guess you like

Origin blog.51cto.com/11009785/2435410