Skip to main content

# weakscraper HTML scraper with templates

## Description

Most HTML pages are generated using templates. Why not use templates too for scraping HTML pages? As for a template language, let’s use HTML plus a few keywords. That way, the workflow with weakscraper is the following : * Get the source of a HTML page you want to scrap. * Using a few keywords, edit the HTML to select which information is of interest and which parts to discard. * If complicated processing is required, write additional callbacks. * Run weakscraper on the template and on the HTML.

## Pros * Observes the [rule of least power](https://en.wikipedia.org/wiki/Rule_of_least_power). A declarative language helps to focus on what to keep. How the information is scrapped is the job of the library.

## Cons

## Examples

## How it works ?

## License

MIT (http://www.opensource.org/licenses/mit-license.php)

Metadata

Release files for weakscraper 0.0.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 weakscraper 0.0.1
File Size Uploaded Provenance
weakscraper-0.0.1.tar.gz 7.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for weakscraper 0.0.1
File Interpreter ABI Platform
weakscraper-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.4 kB

Release files / weakscraper-0.0.1.tar.gz

Download URL weakscraper-0.0.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4a3d7950c73bbed6b38da9cbb2eccabc262bfd18d9a6203b7b50a3bcc5a03eb9
BLAKE2b-256 checksum
How to use checksums
82c63862484d2da7723d2dacaa5d173bb40bddc59bd0ac0c434e7e2ca1dab67c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / weakscraper-0.0.1-py3-none-any.whl

Download URL weakscraper-0.0.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6288e9dfbc5213b4ab814452b1b1f8c30dc1bba03702b26fac3680416c9850a3
BLAKE2b-256 checksum
How to use checksums
80a5756fc5e3568bbcd8bd705b2e377a2da9ac95b0be7c405021cbdb2cfa704a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for weakscraper 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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