Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Python script to scrape the content from web pages and leave the garbage.
Python
Branch: master
Failed to load latest commit information.
README.md
content.py First version (untested)

README.md

=Content.py

==Introduction

Content.py is a Python script for scraping the content from a web page. Most pages are covered in ads, navigation, and other crap. Content.py tries to remove the crap and return a clean, well-formatted div of content.

==Usage

Call getContentFromURL and pass it the url (as a string) of any web page.

It will return a unicode string representing the html of the content.

Something went wrong with that request. Please try again.