摘要: import re import requests all_cookie_dict = {} # ##################################### 第一步:访问登录页面 ##################################### r1 = requests.get( url='https://passport.lagou.com/login/l... 阅读全文
posted @ 2018-04-24 17:16 aaronthon 阅读(191) 评论(0) 推荐(0) 编辑
摘要: import requests from bs4 import BeautifulSoup r1 = requests.get( url='https://github.com/login' ) s1 = BeautifulSoup(r1.text, 'html.parser') token = s1.find(name='input', attrs={'name': 'authent... 阅读全文
posted @ 2018-04-24 10:14 aaronthon 阅读(333) 评论(0) 推荐(0) 编辑