Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 919 Bytes

README.md

File metadata and controls

71 lines (47 loc) · 919 Bytes

searchenginepy

search engine for python (Query and scrape search engines)

How to use?

Installation

pip install searchenginepy

Importing

import SearchEngine from searchenginepy
engine=SearchEngine()

Usage

list=engine.search("search query")

Example

list=engine.google("search query")

using google to search a query

Using a specific search engine

google

from searchenginepy.Google import Google
list=Google().search("search query")

Bing

from searchenginepy.Bing import Bing
list=Bing().search("search query")

Brave

from searchenginepy.Brave import Brave
list=Brave().search("search query")

DuckDuckGo

from searchenginepy.DuckDuckGo import DuckDuckGo
list=DuckDuckGo().search("search query")

Supported search engines

  • Google
  • Bing
  • DuckDuckGo
  • Brave

Example script

example.py