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.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 av-wpa 0.2.1
File Size Uploaded
av_wpa-0.2.1.tar.gz 6.0 kB Details

Built distribution (wheel)

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

Total release size: 13.7 kB

Release files / av_wpa-0.2.1.tar.gz

Download URL av_wpa-0.2.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
26e614abd880ad6dbf8db8a037ace1b11446bdc1f5a2f7c6ef7a22c05e1d7c1c
BLAKE2b-256 checksum
How to use checksums
7de6c053799244c468582a5c4181864b41e7643ae66c242d0a24f30b155b4251
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.21

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

Download URL av_wpa-0.2.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53d54497a320a4b1a84779d6cdd5a35a8babfff0f52f6e81855526e2539c3e63
BLAKE2b-256 checksum
How to use checksums
9cb44ff5eeb9f8838621236b13ff8a4eb0512f28d4249d4f77adc3586267e054
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

This release

0.2.1 This release

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