Skip to main content

Collect actual content of any article, blog, news, etc.

Project description

Collects actual content of any article, blog, news, etc.


pip install readable-content


After installing you need to do just add following two variables in of your Scrapy project

from readable_content.parser import ContentParser
parser = ContentParser("")
content = parser.get_content()

In case the website does not allow getting the content and throws 4XX or 3XX or any other error codes, we can first get the HTML using other techniques like using requests, using user-agent, applying proxies on your own, etc. Then the html content can be passed as following:

parser = ContentParser("", html_content)

Here html_content variable is string representation of the HTML.

Thank you!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

readable-content-0.1.2.tar.gz (4.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page