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.0

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.0
File Size Uploaded
av_wpa-0.2.0.tar.gz 6.0 kB Details

Built distribution (wheel)

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

Total release size: 13.6 kB

Release files / av_wpa-0.2.0.tar.gz

Download URL av_wpa-0.2.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1409d983209c8d93c066ab85e3f6bf354561fb0beb50f9d329346bf39f4ba5f9
BLAKE2b-256 checksum
How to use checksums
24f9ec9235308824d0f95744ceb01ff33d1a31e77d4ff15c92103c61f48f8e70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.21

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

Download URL av_wpa-0.2.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9e7f49e013083023e1d2cb6ba111dff5d1817d8ab4ce3b0cc733be6643ba656
BLAKE2b-256 checksum
How to use checksums
b97927922f938295d36a883edebd12ac745765e0f09c8bacbf2e7ce4290f5736
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

0.2.2

2 release files

0.2.1

2 release files

This release

0.2.0 This release

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