Socket
Socket
Sign inDemoInstall

newsmeta

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    newsmeta

A python module for parsing HTML into news components.


Maintainers
1

Readme

newsmeta

PyPi

A python module for parsing HTML into news components.

Dependencies :globe_with_meridians:

Installation :inbox_tray:

This is a python package hosted on pypi, so to install simply run the following command:

pip install newsmeta

Usage example :eyes:

In order to use this library simply feed it the downloaded HTML and the URL of the news piece, like so:

import newsmeta

with open("article.html") as article_fh:
    article = newsmeta.parse(article_fh.read(), "http://www.article.com/article")
    print(article.title)

License :memo:

The project is available under the MIT License.

Keywords

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc