Skip to main content

WebQuest Logo

WebQuest

WebQuest is an extensible Python toolkit for high-level web scraping, built around a generic Playwright-based scraper interface for quickly building, running, and reusing custom scrapers.

For detailed usage instructions and API reference, please visit the documentation.

To use WebQuest as a Model Context Protocol (MCP) server, please visit the WebQuest MCP repository.

Scrapers

Browsers

  • Hyperbrowser: A cloud-based browser service for running Playwright scrapers without managing infrastructure.

Installation

Installing using pip:

pip install webquest

Installing using uv:

uv add webquest

Usage

To use Hyperbrowser, you need to set the HYPERBROWSER_API_KEY environment variable.

Example usage of the DuckDuckGo Search scraper:

import asyncio

from webquest.browsers import Hyperbrowser
from webquest.scrapers import DuckDuckGoSearch


async def main() -> None:
    scraper = DuckDuckGoSearch(browser=Hyperbrowser())

    response = await scraper.run(
        scraper.request_model(query="Pizza Toppings"),
    )
    print(response.model_dump_json(indent=4))


if __name__ == "__main__":
    asyncio.run(main())

You can also run multiple requests at the same time:

import asyncio

from webquest.browsers import Hyperbrowser
from webquest.scrapers import DuckDuckGoSearch


async def main() -> None:
    scraper = DuckDuckGoSearch(browser=Hyperbrowser())

    responses = await scraper.run(
        scraper.request_model(query="Pizza Toppings"),
        scraper.request_model(query="AI News"),
    )
    for response in responses:
        print(response.model_dump_json(indent=4))


if __name__ == "__main__":
    asyncio.run(main())

Disclaimer

This tool is for educational and research purposes only. The developers of WebQuest are not responsible for any misuse of this tool. Scraping websites may violate their Terms of Service. Users are solely responsible for ensuring their activities comply with all applicable laws and website policies.

Metadata

Release files for webquest 0.13.1

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

Source distribution (sdist)

Source distribution for webquest 0.13.1
File Size Uploaded Provenance
webquest-0.13.1.tar.gz 10.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for webquest 0.13.1
File Interpreter ABI Platform
webquest-0.13.1-py3-none-any.whl Python 3 none any Details

Total release size: 35.5 kB

Release files / webquest-0.13.1.tar.gz

Download URL webquest-0.13.1.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
40f70c908cbde13b39fd572eeba1624295feb16a2c1e902d0b5098ab8b9cfff9
BLAKE2b-256 checksum
How to use checksums
25cb3103b35d4c2efa2369a267f6669e37071160d4914029eef8406a8205cd2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.1

Release files / webquest-0.13.1-py3-none-any.whl

Download URL webquest-0.13.1-py3-none-any.whl
Size 24.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c768976105bafd18c74a173f58e5d37ae6322159c5577730069b699081f77334
BLAKE2b-256 checksum
How to use checksums
9c4f14ece55d1c8385540f6274e0f5577d5c802528948bfe46a43ad136c17146
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.1

Security for webquest 0.13.1

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.

Release history Release notifications | RSS feed

This release

0.13.1 This release

2 release files No provenance

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