Search in Google, Bing, Brave, Mojeek, Moose, Yahoo, Searx
Project description
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())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
search-me-3.1.0.tar.gz
(552.7 kB
view details)
Built Distribution
search_me-3.1.0-py3-none-any.whl
(553.2 kB
view details)
File details
Details for the file search-me-3.1.0.tar.gz
.
File metadata
- Download URL: search-me-3.1.0.tar.gz
- Upload date:
- Size: 552.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72e1ad2bd33cad65d26267788f5e9e00e28afefb3644fb12948ffc13b9a33216 |
|
MD5 | 7de453d4ab0f6d09b2dca54bf856058f |
|
BLAKE2b-256 | 6308802bc4bff1aa01f2d91cb46ea1dd5e4c63684e7c4782dfba496ef8156b4b |
File details
Details for the file search_me-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: search_me-3.1.0-py3-none-any.whl
- Upload date:
- Size: 553.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f317785adf4bd662d82bc28b2365502c701e7e04e26bf3e27dcd5ea8ef21c9b2 |
|
MD5 | 1bb4249bfb5698d78e5662273806e6e9 |
|
BLAKE2b-256 | cf7d231da88a8f1014e2886312464dc25a83d8e9de78abccefc1c840c08a67fa |