A Python library that queries Google, Bing, Yahoo and other search engines and collects the results from multiple search engine results pages.
Please note that web-scraping may be against the TOS of some search engines, and may result in a temporary ban.
search_engines/engines/and add it to the
search_engines/engines/__init__.py. The new class should subclass
SearchEngine, and override the following methods:
Run the setup file:
$ python setup.py install.
As a library:
from search_engines import Google engine = Google() results = engine.search("my query") links = results.links() print(links)
As a CLI script:
$ python search_engines_cli.py -e google,bing -q "my query" -o json,print