pu369com

2023年5月25日

aiohttp 异步爬虫实战

摘要: 想检测一下内网开放8080端口提供http服务的计算机,写了以下代码: # 导入 requests 包 import requests,pathlib # 发送请求 def req(ip): try: print(ip) r = requests.get(ip,timeout=0.5) if r.s 阅读全文

posted @ 2023-05-25 13:04 pu369com 阅读(13) 评论(0) 推荐(0) 编辑

导航