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.3.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.3-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: av_wpa-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d50e9dfb699c9a730d6d61454e09637723b3a3c2aed9b550fa5e70efa598693e
MD5 37307190ea83c2fa58971eb950a0aba3
BLAKE2b-256 879c41b8e0b802211ea1a93557a41351330f98a755c033c578d7330d6279acb5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av_wpa-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c05c5735531db4acc7ffb843a6e071a2a3638828e7f75996a6af9313e42451ba
MD5 5fa4f4ad0d9c4bddaf99619db3c4ce3f
BLAKE2b-256 009bc1db5245a9fff2c20a9332645866cf616de201619362676a40b029fd803a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

2 files

0.1.7

2 files

This release

0.1.3 This release

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