Skip to main content

av-wpa (Web Page Analyzer)

A CLI utility for downloading web pages, downloading page resources, extracting structured data such as ld+json microdata and inline JavaScript variables for analyzis.

Features

  • Downloading web page by url
  • Extracting data: ld-json structured microdata, and JavaScript state objects, list of resources.
  • Resource Downloading: Save page HTML and download associated web assets directly to a directory.

Installation

Option 1: Install via PyPI

Using standard pip:

pip install av-wpa

Using astral-uv:

uv add av-wpa

Option 2: From Source

git clone https://github.com/Avazart/av-wpa.git
cd wpa
uv sync

How to Run

Command Line Interface (CLI)

Run via installed entry point:

python -m av-wpa [OPTIONS] URL

Or run directly via python module:

python -m av_wpa [OPTIONS] URL

Or execute using uv without manual venv activation:

uv run -m av_wpa [OPTIONS] URL


Command Line Arguments & Options

Positional Arguments

  • url — Target web page URL to process (requared).

Options & Flags

  • -d, --directory PATH — Specify the download directory path for saving output files.
  • -a, --analyze — Enable analysis mode for parsing and extracting page structured data.
  • -r, --resources — Enable resource downloading to fetch page assets.
  • -h, --help — Show help message and exit.

Execution Examples

1. Basic Analysis

Analyze a target web page:

python -m av-wpa https://example.com -a

2. Download Page Resources to a Specific Directory

Download web page resources into a designated folder:

python -m av-wpa https://example.com -r -d ./data

3. Analyze and Download Resources Together

python -m av-wpa https://example.com -a -r -d ./data

Metadata

Release files for av-wpa 0.2.2

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

Source distribution (sdist)

Source distribution for av-wpa 0.2.2
File Size Uploaded
av_wpa-0.2.2.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for av-wpa 0.2.2
File Interpreter ABI Platform
av_wpa-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 kB

Release files / av_wpa-0.2.2.tar.gz

Download URL av_wpa-0.2.2.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bc263ba4a5dea82af2bd287f192d3d3297c363c35d9b6590b9fe73d4c412a824
BLAKE2b-256 checksum
How to use checksums
3e101b8c5e6271d25c119e9fd30378448ad78222a56828b344059bb8319238e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.21

Release files / av_wpa-0.2.2-py3-none-any.whl

Download URL av_wpa-0.2.2-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7df19e2d9d6b83fb65bbf22a07355ed144572eed18f92247c6a044ab721853a8
BLAKE2b-256 checksum
How to use checksums
9827eda9d770eafb825c88c3f3334d7699c4e69f20d59a732849b9f0021ab2f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.21

Release history Release notifications | RSS feed

0.2.3

2 release files

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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