Skip to content
/ newsmeta Public

A python module for parsing HTML into news components.

License

Notifications You must be signed in to change notification settings

8W9aG/newsmeta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

newsmeta

PyPi

A python module for parsing HTML into news components.

Dependencies 🌐

Installation 📥

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

pip install newsmeta

Usage example 👀

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 📝

The project is available under the MIT License.

About

A python module for parsing HTML into news components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages