def get_captcha(self):img = self.s.get(self.captcha_url, headers=self.headers, verify=False)byte = img.contentprint(byte)i = 1with open("{}.png".format(i), "wb") as f:f.write(byte)
1200字范文,内容丰富有趣,写作的好帮手!
时间:2024-07-23 18:37:45
def get_captcha(self):img = self.s.get(self.captcha_url, headers=self.headers, verify=False)byte = img.contentprint(byte)i = 1with open("{}.png".format(i), "wb") as f:f.write(byte)