# Path: theHarvester/__main__.py
# async def start(rest_args=None):
#     async def store(search_engine: Any, source: str, process_param: Any = None, store_host: bool = False,
#                     store_emails: bool = False, store_ip: bool = False, store_people: bool = False,
#                     store_links: bool = False, store_results: bool = False,
#                     store_interestingurls: bool = False, store_asns: bool = False) -> None:
#     async def worker(queue):
#     async def handler(lst):
# async def entry_point():


import sys
import asyncio
        import multiprocessing
        import uvloop
            import aiomultiprocess
from theHarvester import __main__
#!/usr/bin/env python3
# Note: This script runs theHarvester

if sys.version_info.major < 3 or sys.version_info.minor < 7:
    print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m')
    sys.exit(1)

if __name__ == '__main__':
    platform = sys.platform
    if platform == 'win32':
        # Required or things will break if trying to take screenshots

        multiprocessing.freeze_support()
        asyncio.DefaultEventLoopPolicy = asyncio.WindowsSelectorEventLoopPolicy
    else:
        uvloop.install()

        if "linux" in platform:

            # As we are not using Windows we can change the spawn method to fork for greater performance
            aiomultiprocess.set_context("fork")

# Path: theHarvester/__main__.py
# async def start(rest_args=None):
#     async def store(search_engine: Any, source: str, process_param: Any = None, store_host: bool = False,
#                     store_emails: bool = False, store_ip: bool = False, store_people: bool = False,
#                     store_links: bool = False, store_results: bool = False,
#                     store_interestingurls: bool = False, store_asns: bool = False) -> None:
#     async def worker(queue):
#     async def handler(lst):
# async def entry_point():


# Path: theHarvester.py
import sys
import asyncio
        import multiprocessing
        import uvloop
            import aiomultiprocess
from theHarvester import __main__

#!/usr/bin/env python3
# Note: This script runs theHarvester

if sys.version_info.major < 3 or sys.version_info.minor < 7:
    print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m')
    sys.exit(1)

if __name__ == '__main__':
    platform = sys.platform
    if platform == 'win32':
        # Required or things will break if trying to take screenshots

        multiprocessing.freeze_support()
        asyncio.DefaultEventLoopPolicy = asyncio.WindowsSelectorEventLoopPolicy
    else:
        uvloop.install()

        if "linux" in platform:

            # As we are not using Windows we can change the spawn method to fork for greater performance
            aiomultiprocess.set_context("fork")

    asyncio.run(__main__.entry_point())