Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Python script to scrape the content from web pages and leave the garbage.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 content.py
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.