Skip to main content

A simple Python package for performing Google searches

Project description

📦 gsearchpy

gsearchpy is a lightweight Python package that allows you to perform Google Search queries programmatically and retrieve raw search result pages with ease.

It is built for developers, researchers, and automation enthusiasts who need a flexible interface to Google Search.


Table of Contents

🚀 Features

  • 🔍 Perform Google searches using customizable parameters
  • 📄 Retrieve raw HTML content and filtered data of Google search results
  • 🔁 Built-in pagination support

📦 Installation

pip install gsearchpy

Using Github

pip install git+https://@github.com/itsguptaaman/gsearchpy.git

After Installation run this command to setup the drivers and dependency

gsearchpy

📦 Example Usage

For raw data response

from gsearchpy.google import google_search

query = "best VSCode extensions for productivity"
results = google_search(query)

For clean data

from gsearchpy.google import google_search, filter_google_search_data

query = "best VSCode extensions for productivity"
html = google_search(query)
data = filter_google_search_data(html)
print(data)

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

gsearchpy-0.1.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gsearchpy-0.1.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file gsearchpy-0.1.1.tar.gz.

File metadata

  • Download URL: gsearchpy-0.1.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for gsearchpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4c2a1613c528bc8a8dac294e828b18c1af4f192d8c18d6aa1a11d147294aaf8e
MD5 bf986bbd9207f7fb2c4cf82d1d4e9c78
BLAKE2b-256 beedc1cac64f237eb95ad41480d36dfdcf09a7a876ea6cf6d06cd2bde12368d3

See more details on using hashes here.

File details

Details for the file gsearchpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gsearchpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for gsearchpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf76837c6fdc53b961fd66152419114a556527aed10fafbe8308ad86e9367186
MD5 5ccd1e89402704e22e7daace30c97984
BLAKE2b-256 31ae5728a6fe9116802d769b1c42e630a390549a0a6258c5b770e986a8b971c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page