mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-21 07:46:32 +08:00
add try catch for yahoo
This commit is contained in:
parent
b2344e480c
commit
e7bd52a866
|
@ -427,8 +427,11 @@ async def store(search_engine: Any, source: str, process_param: Any = None, stor
|
||||||
|
|
||||||
elif engineitem == 'yahoo':
|
elif engineitem == 'yahoo':
|
||||||
from theHarvester.discovery import yahoosearch
|
from theHarvester.discovery import yahoosearch
|
||||||
yahoo_search = yahoosearch.SearchYahoo(word, limit)
|
try:
|
||||||
stor_lst.append(store(yahoo_search, engineitem, store_host=True, store_emails=True))
|
yahoo_search = yahoosearch.SearchYahoo(word, limit)
|
||||||
|
stor_lst.append(store(yahoo_search, engineitem, store_host=True, store_emails=True))
|
||||||
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
|
|
||||||
elif engineitem == 'zoomeye':
|
elif engineitem == 'zoomeye':
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue