摘要:
'''''' ''' pip3 install beautifulsoup4 # 安装bs4 pip3 install lxml # 下载lxml解析器 ''' html_doc = """ The Dormouse's story $37 Once upon a time there were three little sisters; and their names were Elsi... 阅读全文
摘要:
'''''' ''' 破解极验滑动验证 破解极验滑动验证 博客园登录url: https://account.cnblogs.com/signin?returnUrl=https%3A%2F%2Fwww.cnblogs.com%2F 代码逻辑: 1、输入用户名与密码,并点击登录 2、弹出滑动验证,获 阅读全文
摘要:
from selenium import webdriver import time driver = webdriver.Chrome(r'D:\BaiduNetdiskDownload\chromedriver_win32\chromedriver.exe') # 把窗口转成全屏 driver.maximize_window() try: driver.get('https:/... 阅读全文
摘要:
'''''' ''' post请求登陆github ''' import requests import re # 一 访问login页获取token信息 ''' 请求url: https://github.com/login 请求方式: GET 响应头: Set-Cookie 请求头: Cookie User-Agent ''' headers ... 阅读全文