Skip to main content

ai-gemini-scraper

A simple package for scraping websites and generating responses using Google's Generative AI.

Features

  • Scrapes a webpage using Selenium with headless Chrome.
  • Passes scraped HTML into a Generative AI model along with custom instructions.
  • Returns the AI-generated response.

Installation

You can install the package via pip (after publishing to PyPI):

bash
pip install ai-scraper

Usage example

from ai_scraper import scrape

response_text = scrape(
    google_api_key="YOUR_GOOGLE_API_KEY",
    url="https://webscraper.io/test-sites/e-commerce/allinone",
    instructions="Return all products names, in JSON."
)
print(response_text)

Metadata

Release files for ai-gemini-scraper 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-gemini-scraper 0.1.3
File Size Uploaded Provenance Actions
ai_gemini_scraper-0.1.3.tar.gz 3.9 kB Without provenance Details for ai_gemini_scraper-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-gemini-scraper 0.1.3
File Interpreter ABI Platform Actions
ai_gemini_scraper-0.1.3-py3-none-any.whl Python 3 none any Details for ai_gemini_scraper-0.1.3-py3-none-any.whl

Total release size: 7.9 kB

Release files / ai_gemini_scraper-0.1.3.tar.gz

Download URL ai_gemini_scraper-0.1.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8303ac9bc8145e35163f6d8ad0398d0ca4c15fcbbc42cae0596d1c2a1cfe599e
BLAKE2b-256 checksum
How to use checksums
d8359309f79ddc691fc34b9ea066b84b96384f659dca06bdf6315c91d3de1b93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / ai_gemini_scraper-0.1.3-py3-none-any.whl

Download URL ai_gemini_scraper-0.1.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c29a5b0d9d0b183e59935afb80ebae224918f1086d7754b440fcf1c87d0b751
BLAKE2b-256 checksum
How to use checksums
c5595d9ad153ce64c27206985c6fed5b10bce33dd20df04cac66f81e87a550c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for ai-gemini-scraper 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page