Skip to main content

No project description provided

Project description

Impressum Helvetica

Python Poetry Playwright

Automatically collect Impressum (legal notice) pages from websites using Playwright.

Installation

poetry shell
poetry install
playwright install

Usage

Single website

python src/collect_impressum.py digitec.ch
python src/collect_impressum.py interdiscount.ch

Batch processing

python src/collect_impressum.py

Processes all hostnames from src/hostnames.py that don't have Impressum URLs yet.

Examples

The tool automatically:

  • Finds Impressum links using multilingual keywords (German, English, French)
  • Handles cookie consent banners
  • Captures full-page screenshots
  • Saves HTML content

Output Structure

results/
├── html/
│   ├── example.ch.html
└── img/
    ├── example.ch.png

Project details


Download files

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

Source Distribution

impressum_helvetica-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

impressum_helvetica-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file impressum_helvetica-0.1.0.tar.gz.

File metadata

  • Download URL: impressum_helvetica-0.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for impressum_helvetica-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6a30ab6706d00363476c73f803849750fd3b84511d79fbaa904d18d7e3697d13
MD5 1cb4be74eb17c2c211e77ebc09758640
BLAKE2b-256 22d5c12fb8c9097831e3ace5c0052216ec678e83224e8215fa8615b79ac22044

See more details on using hashes here.

File details

Details for the file impressum_helvetica-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for impressum_helvetica-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82861ffbd1c80029268a39872a3f6ac8f21755dee8d51b8e797a0ba32c9ec591
MD5 f9a3bddacc30a1ab8cb71e470fd100cc
BLAKE2b-256 91761342a6d1cc2de9b31b41a74c3f99f6f2129811851f2e04a0e4366ca8461d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page