- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 【无标题】
试过很多种方式,参数化密码,r"xxx#xxx",都报错,在windows系统上能正常连接,在linux上连接就报这个错,请求大神帮忙分析问题所在?求助:python连接postgresql时,密码带有特殊字符报错。
2024-11-07 16:38:46
305
1
原创 python+selenium常用方法
class Action(object): def init(self,driver): self.driver=driver def open(self, url, title, timeout=10): u"""打开浏览器,并最大化,判断title是否为预期""" self.driver.get(url) self.driver.maximize_window() try: WebDriverWait(self.driver, timeout, 1).un
2020-08-04 17:04:58
381
原创 python+selenium破解验证码
1、图片验证码(数字字母组合) 方法一: 使用pytesseract模块破解,改方法辨别率不高,只适合比较清晰的图片。 代码示例: def get_code(self, locator): u"""获取图片验证码""" # 验证码图片保存地址 now_time = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()) screenImg = os.getcwd() + '\\report\\' + now_time +
2020-07-30 15:27:22
1041
ysoserial-0.0.6-SNAPSHOT-all.jar
2019-12-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅