Skip to main content

Universal pure web scraping engine.

Project description

Phoenix Engine

A universal pure-web scraping engine that turns public web pages into structured, predictable data. No official APIs required — Phoenix Engine uses raw HTTP requests and headless browser automation to extract posts, profiles, listings, and articles from social platforms and websites.

Current status: beta / early access. A license key is required to run the engine in production.

What it does

  • Scrapes public pages using HTTP or headless browser strategies.
  • Returns a unified JSON output no matter what platform you target.
  • Automatically adapts to site changes, anti-bot measures, and selector drift.
  • Learns from past scrapes to pick the best strategy for each domain.
  • Can be used from the command line or inside your Python application.

Install

From PyPI

pip install phoenix-engine

From a GitHub Release wheel

Download the .whl from the latest release, then:

pip install phoenix_engine-0.1.0-py3-none-any.whl

Activate your license

Phoenix Engine is distributed under license keys during beta. After installing, set your key:

export PHOENIX_LICENSE_ENFORCEMENT_ENABLED=true
export PHOENIX_LICENSE_SECRET="your-signing-secret"
export PHOENIX_LICENSE_KEY="phx.eyJ..."

Or create a phoenix.yaml file:

license_enforcement_enabled: true
license_secret: "your-signing-secret"
license_key: "phx.eyJ..."

If the key is missing, expired, tampered with, or over its use limit, the engine will refuse to start.

Quick start — CLI

# Scrape a single public page
phoenix scrape "https://example.com/post/123"

# Scrape without archiving the raw source
phoenix scrape "https://example.com/post/123" --no-archive

# Scrape multiple URLs in parallel
phoenix scrape-batch \
  "https://example.com/post/123" \
  "https://example.com/post/456" \
  --output results.json

# List built-in platform adapters
phoenix plugins list

# Inspect effective configuration (secrets are masked)
phoenix config show

Quick start — Python library

import asyncio
from phoenix import PhoenixEngine

async def main() -> None:
    async with PhoenixEngine() as engine:
        result = await engine.scrape("https://example.com/post/123")
        print(result.output.model_dump_json(indent=2))

asyncio.run(main())

Configuration

Most settings can be controlled with environment variables or a config file (phoenix.yaml, phoenix.json, phoenix.toml):

timeout: 30
stealth_enabled: true
ai_enabled: false
rate_limits:
  example.com: 1.0

Run phoenix config show to see the active configuration.

Supported platforms

Phoenix Engine ships with adapters for common public platforms and a generic fallback for any HTML page:

  • Instagram, Facebook, X/Twitter, LinkedIn, TikTok, YouTube
  • Generic blogs, listings, and article pages

Adapters are plugin-based, so new platforms can be added without touching the core engine.

Ethical use

Phoenix Engine only scrapes publicly available content. Always respect:

  • The target site's robots.txt and Terms of Service.
  • Local laws and data-protection regulations (GDPR, CCPA, etc.).
  • Rate limits — the engine includes built-in throttling to avoid overload.

Support

License

Commercial beta license. See your license agreement for terms.

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

phoenix_engine-0.1.0.tar.gz (114.3 kB view details)

Uploaded Source

Built Distribution

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

phoenix_engine-0.1.0-py3-none-any.whl (153.2 kB view details)

Uploaded Python 3

File details

Details for the file phoenix_engine-0.1.0.tar.gz.

File metadata

  • Download URL: phoenix_engine-0.1.0.tar.gz
  • Upload date:
  • Size: 114.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phoenix_engine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d1b7091f04edaf0928d3ae6cd27502d116dbd01691006285cbae99b02c9bc36
MD5 f49f87daa978f660e7dea62a3bc41025
BLAKE2b-256 46504a7ce3dec529e16bf269d485377ac92871d3034d1b4de5cc63a877c02ed9

See more details on using hashes here.

Provenance

The following attestation bundles were made for phoenix_engine-0.1.0.tar.gz:

Publisher: publish-pypi.yml on phnx-tech/phoenix-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phoenix_engine-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phoenix_engine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 153.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phoenix_engine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c67548205695d3ce4a0b368958f4a95c39831743572fad86a4037a4526b1bdb1
MD5 f8030e510dafbdb05eab9e713a7dca9e
BLAKE2b-256 5d6f1ed93f86a24f3b63cd1a5c1cb04d3483e855783d0e9d4fd4b1f7c38194b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for phoenix_engine-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on phnx-tech/phoenix-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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