chibd2000 / fofa-api-search

爬取fofa 基于api
4 stars 1 forks source link

你好,跑你的代码点问题 #1

Open Chauncy-lab opened 3 years ago

Chauncy-lab commented 3 years ago

环境是3.6,除了改了一下config的邮箱和key,其他均无改动。但运行时候出现以下错误。 以下是运行您的代码报错 D:/code/PycharmProjects/myShenTou/fofa.py:8: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See https://github.com/gevent/gevent/issues/1016. Modules that had direct imports (NOT patched): ['urllib3.util (D:\code\PycharmProjects\ArtIntelligence\venv1\lib\site-packages\urllib3\util\init.py)', 'urllib3.util.ssl (D:\code\PycharmProjects\ArtIntelligence\venv1\lib\site-packages\urllib3\util\ssl.py)']. from gevent import monkey, pool; monkey.patch_all()

输入你要的Fofa搜索语法: app="MAIL2000-邮件系统" && region="TW" Traceback (most recent call last): File "D:/code/PycharmProjects/myShenTou/fofa.py", line 323, in fofa.run() File "D:/code/PycharmProjects/myShenTou/fofa.py", line 273, in run self._getPage() File "D:/code/PycharmProjects/myShenTou/fofa.py", line 237, in _getPage a, b, c = self.request.getRequest(self.searchUrl.format(FOFA_EMAIL=self.fofa_email, API_KEY=self.fofa_key, B64_DATA=self.searchKeyword, PAGE=1)) TypeError: 'RecursionError' object is not iterable

请问是什么原因呢?可否留个联系方式详细交流下,谢谢

chibd2000 commented 3 years ago

https://blog.csdn.net/u013205877/article/details/103146818

已修正,不好意思!

------------------ 原始邮件 ------------------ 发件人: "adezz/fofa-api-search" @.>; 发送时间: 2021年5月20日(星期四) 下午5:16 @.>; @.***>; 主题: [adezz/fofa-api-search] 你好,跑你的代码点问题 (#1)

环境是3.6,除了改了一下config的邮箱和key,其他均无改动。但运行时候出现以下错误。 以下是运行您的代码报错 D:/code/PycharmProjects/myShenTou/fofa.py:8: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See gevent/gevent#1016. Modules that had direct imports (NOT patched): ['urllib3.util (D:\code\PycharmProjects\ArtIntelligence\venv1\lib\site-packages\urllib3\util\init.py)', 'urllib3.util.ssl (D:\code\PycharmProjects\ArtIntelligence\venv1\lib\site-packages\urllib3\util\ssl.py)']. from gevent import monkey, pool; monkey.patch_all()

输入你要的Fofa搜索语法: app="MAIL2000-邮件系统" && region="TW" Traceback (most recent call last): File "D:/code/PycharmProjects/myShenTou/fofa.py", line 323, in fofa.run() File "D:/code/PycharmProjects/myShenTou/fofa.py", line 273, in run self._getPage() File "D:/code/PycharmProjects/myShenTou/fofa.py", line 237, in _getPage a, b, c = self.request.getRequest(self.searchUrl.format(FOFA_EMAIL=self.fofa_email, API_KEY=self.fofa_key, B64_DATA=self.searchKeyword, PAGE=1)) TypeError: 'RecursionError' object is not iterable

请问是什么原因呢?可否留个联系方式详细交流下,谢谢

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.