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.3-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.
First-time setup
After installing, run the built-in setup checker:
phoenix setup
It will verify:
- Python version (3.11 or newer).
- Playwright browsers (
chromium). If missing, it can install them for you. - Ollama is reachable (only needed for AI-assisted extraction).
- Your license key is valid.
Manual install commands if you prefer:
# Install Playwright Chromium browser
python -m playwright install chromium
# Install Ollama for AI features
# https://ollama.com/download
ollama pull qwen2.5:7b
You can also chat with the local AI assistant:
phoenix chat
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.txtand Terms of Service. - Local laws and data-protection regulations (GDPR, CCPA, etc.).
- Rate limits — the engine includes built-in throttling to avoid overload.
Frequently Asked Questions
Q: Do I need an API key from Instagram/Facebook/etc.?
A: No. Phoenix Engine extracts data from public HTML pages, so no official
platform API keys are required.
Q: What do I need installed on my machine?
A: Python 3.11+, the phoenix-engine package, and Playwright browsers
(python -m playwright install chromium). AI features also need a local
Ollama server.
Q: How do I get a license key?
A: Contact the Phoenix Engine team. During beta, keys are issued manually and
can include expiration dates and usage limits.
Q: Can I use it without the AI features?
A: Yes. AI is optional. Traditional selector-based extraction works out of the
box.
Q: Why did the engine fail with a license error?
A: Either the key is missing, expired, the signature does not match, or the
maximum number of uses has been reached. Run phoenix license status to check.
Q: How do I add support for a new website?
A: Use PhoenixArchitect:
phoenix architect generate --url "https://example.com"
Get a license key
Phoenix Engine is currently in closed beta and requires a license key.
To request a key, contact: contact@phoenix-mea.com.
Support
- Issues: https://github.com/phnx-tech/phoenix-engine/issues
- Repository: https://github.com/phnx-tech/phoenix-engine
License
Commercial beta license. See your license agreement for terms.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phoenix_engine-0.1.3.tar.gz.
File metadata
- Download URL: phoenix_engine-0.1.3.tar.gz
- Upload date:
- Size: 118.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71f0e2ca5de6e5264936882d6a0f5345668210174abe07adb314a2f6b0c3985e
|
|
| MD5 |
0a43ab98088132513f4be462db6d644d
|
|
| BLAKE2b-256 |
f4fec47ca220a0c132b4e0f994fe324450e16c99df4056c308669fa87e21f0a0
|
Provenance
The following attestation bundles were made for phoenix_engine-0.1.3.tar.gz:
Publisher:
publish-pypi.yml on phnx-tech/phoenix-engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phoenix_engine-0.1.3.tar.gz -
Subject digest:
71f0e2ca5de6e5264936882d6a0f5345668210174abe07adb314a2f6b0c3985e - Sigstore transparency entry: 1949282885
- Sigstore integration time:
-
Permalink:
phnx-tech/phoenix-engine@6aa692f2d82fd89c11e108cc6d29eb22877706dc -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/phnx-tech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@6aa692f2d82fd89c11e108cc6d29eb22877706dc -
Trigger Event:
release
-
Statement type:
File details
Details for the file phoenix_engine-0.1.3-py3-none-any.whl.
File metadata
- Download URL: phoenix_engine-0.1.3-py3-none-any.whl
- Upload date:
- Size: 157.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e4fe745c137fdb80c3d9924782f118d8a268deceaf25f887b36bebd9bb99493
|
|
| MD5 |
819dbfb670347f732ebee628f244f3ac
|
|
| BLAKE2b-256 |
c5e90ea37a04313b9a820759a364ceebea06d4dff8617de374d6c8ef1f00a0ba
|
Provenance
The following attestation bundles were made for phoenix_engine-0.1.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on phnx-tech/phoenix-engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phoenix_engine-0.1.3-py3-none-any.whl -
Subject digest:
4e4fe745c137fdb80c3d9924782f118d8a268deceaf25f887b36bebd9bb99493 - Sigstore transparency entry: 1949283272
- Sigstore integration time:
-
Permalink:
phnx-tech/phoenix-engine@6aa692f2d82fd89c11e108cc6d29eb22877706dc -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/phnx-tech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@6aa692f2d82fd89c11e108cc6d29eb22877706dc -
Trigger Event:
release
-
Statement type: