python获取登录后302跳转时的cookies
设置allow_redirects即可 html = requests.post(url,data=postdata,headers=headersLogin,allow_redirects=False)
设置allow_redirects即可 html = requests.post(url,data=postdata,headers=headersLogin,allow_redirects=False)
https://www.t00ls.net/viewthread.php?tid=60464&extra=&page=1 import chardet import urllib2 line = "http://126....