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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

av_wpa-0.1.7.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

av_wpa-0.1.7-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file av_wpa-0.1.7.tar.gz.

File metadata

  • Download URL: av_wpa-0.1.7.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.21

File hashes

Hashes for av_wpa-0.1.7.tar.gz
Algorithm Hash digest
SHA256 14976793ce4084f6e5b634efd92fc9997c60745f541832ed9cfdaa5020300868
MD5 6ccb3c573131aec1b1cd27fb60cfcaea
BLAKE2b-256 97f68bed33cc09b09bda923702b294509a6c961a4425059fcb49071095ceb73a

See more details on using hashes here.

File details

Details for the file av_wpa-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: av_wpa-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.21

File hashes

Hashes for av_wpa-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f79c5a2dfe18b93c15ff5488de25f225dc0847c62fa346237f1e9f93134e8f2b
MD5 066a3a2c98d821fe80a602adf35206b2
BLAKE2b-256 9cbbba77e3ea1aa8d5c3605ca3abc77472dc7b4eb90acf31396c5ba3dc768195

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

2 files

This release

0.1.7 This release

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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