摘要: 使用方法 captcha = Captcha() text, response_img = captcha.code_response() 直接用就行 # coding: utf-8 # + # | Project : Lost_track_of_time # | Author : 今夕何夕 # | 阅读全文
posted @ 2021-04-21 15:07 晴天雨露 阅读(145) 评论(0) 推荐(0)
摘要: 一、简介 爬虫的时候用的最多 retry是一个用于错误处理的模块 功能类似try-except 但更加快捷方便。 二、基本用法 retry-作为装饰器进行使用,不传入参数时功能如下例所示: GitHub地址:https://github.com/invl/retry from retry impor 阅读全文
posted @ 2021-04-21 14:51 晴天雨露 阅读(2918) 评论(0) 推荐(0)
摘要: 有时候想看看一个模型或者其他是否可用,但都要在网页中测试,有了这个,就不用担心啦,右键直接运行即可看到结果 # coding: utf-8 # + # | Project : Lost_track_of_time # | Author : 今夕何夕 # | QQ/Email : 184566608< 阅读全文
posted @ 2021-04-21 14:33 晴天雨露 阅读(76) 评论(0) 推荐(0)
摘要: 复制代码 使用就行 # coding: utf-8 # + # | Project : ITSource # | Author : 晴天雨露 # | QQ/Email : 184566608<qingyueheji@qq.com> # | Time : 2019/10/9 2:36 # | Desc 阅读全文
posted @ 2021-04-21 14:22 晴天雨露 阅读(70) 评论(0) 推荐(0)