import requests from requests.auth import AuthBase from requests.auth import HTTPBasicAuth auth = HTTPBasicAuth('ryan','password') r = requests.post(url = "http://pythonscraping.com/pages/auth/login.php",auth = auth) print(r.text)
by: 发表于:2017-09-19 09:42:29 顶(0) | 踩(0) 回复
??
by: 发表于:2017-09-19 09:42:29 顶(0) | 踩(0) 回复
??
回复评论