search-me 3.1.0

Creator: bradpython12

Last updated:

Add to Cart

Description:

searchme 3.1.0

SEARCH-ME
Search in Google, Bing, Brave, Mojeek, Moose, Yahoo, Searx. See more in documentation
INSTALL
pip install search-me

USAGE
import asyncio
import logging
import itertools
import aiohttp
from search_me import Google, Bing, Brave, Mojeek, Moose, Yahoo, Searx


logging.basicConfig(level=logging.DEBUG)

s, b, g = Searx(retry=10), Brave(), Google()


async def main():
async with aiohttp.ClientSession(
timeout=aiohttp.ClientTimeout(total=30),
headers={"User-Agent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"}
) as session:
results = await asyncio.gather(
s.search(session=session, q="社會信用體系"),
b.search(session=session, q="python 3.12"),
g.search(session=session, q="0x0007ee")
)
for x in itertools.chain(*results):
print(x)


loop = asyncio.get_event_loop()
loop.run_until_complete(main())

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.