Socket
Book a DemoInstallSign in
Socket

htmldata

Package Overview
Maintainers
1
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Source code not available
We could not scan this package. Some page functionalities have been disabled

htmldata

Extract and modify HTML/CSS URLs, translate HTML documents <-> list data structures.

pipPyPI
Metadata Only
Version
1.1.1
Maintainers
1

The htmldata module allows one to translate HTML documents back and forth to list data structures. This allows for programmatic reading and writing of HTML documents, with much flexibility.

Functions are also available for extracting and/or modifying all URLs present in the HTML or stylesheets of a document.

I have found this library useful for writing robots, for "wrapping" all of the URLs on websites inside my own proxy CGI script, for filtering HTML, and for doing flexible wget-like mirroring.

It keeps things as simple as possible, so it should be easy to learn.

Supports XHTML, too.

Keywords

html parsing reading writing list data structure url extraction

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts