摘要: import requests import re # 第一次请求 r1 = requests.get("https://github.com/login") r1_cookie = r1.cookies.get_dict() # 拿到初始cookie(未被授权) authenticity_token = re.findall(r'name="authenticity_token".*?val... 阅读全文
posted @ 2018-04-09 17:28 rjm123456 阅读(132) 评论(0) 推荐(0) 编辑