摘要: def convert_image(self): image_obj = Image.open(self.captcha_path)# 获取验证码 img = image_obj.convert("L") # 转灰度 pixdata = img.load() w, h = img.size thre 阅读全文
posted @ 2019-12-27 12:38 winstonsias 阅读(411) 评论(0) 推荐(0) 编辑
摘要: from twisted.internet import reactor, defer from scrapy.crawler import CrawlerRunner from scrapy.utils.log import configure_logging import time import 阅读全文
posted @ 2019-12-27 12:35 winstonsias 阅读(814) 评论(0) 推荐(0) 编辑