会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
温余生
博客园
首页
新随笔
联系
订阅
管理
2020年4月15日
python+selenium+unittest 自动化测试
摘要: from pachong.httpUtils.Http import HttPuTils from selenium import webdriver import unittest class Test_login(unittest.TestCase): ''' 登录接口测试 ''' # 创建参数
阅读全文
posted @ 2020-04-15 18:40 温余生
阅读(719)
评论(0)
推荐(0)
2020年4月14日
PySocks 代理服务和urllib urlopen 请求https
摘要: 1 header={} 2 header['User-Agent'] = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3314.0 Safari/537.36 SE 2
阅读全文
posted @ 2020-04-14 16:48 温余生
阅读(445)
评论(0)
推荐(0)
fiddler 抓取网站数据
摘要: 网站配置代理服务与fiddler互通 ,添加代理 代理地址 本机ip 端口 8888 在fiddler 中 配置 抓取的网站地址, 以博客网为例 配置后即可抓取网站数据 注意 若返回的html 是乱码情况,可能是因为解压导致因此 选中decode 重新发送请求即可
阅读全文
posted @ 2020-04-14 16:46 温余生
阅读(566)
评论(0)
推荐(0)
2020年4月8日
如何进行手机APP的数据爬取 采用了fiddler
摘要: 一 电脑端安装fiddler fiddler官方地址 https://www.telerik.com/download/fiddler 二 配置代理的相关信息 1 fiddler 2 配置iphone 的代理信息 3 在iphone的浏览器出下载fiddle的证书 url http://上次配置ip
阅读全文
posted @ 2020-04-08 10:44 温余生
阅读(211)
评论(0)
推荐(0)
2020年4月7日
python txt文件数据写入excel openpyxl
摘要: 文件资料 代码中采用了 https://openpyxl.readthedocs.io
阅读全文
posted @ 2020-04-07 19:55 温余生
阅读(952)
评论(0)
推荐(0)
公告