grabfeed

Detects and return RSS feeds for a given website.


Keywords
RSS
License
Apache-2.0
Install
pip install grabfeed==0.2

Documentation

GrabFeed

Build Status Coverage Status PyPI version PyPI Downloads PyPI Downloads Requirements Status

Python package to detect and return RSS / Atom feeds for a given website. It has been tested with major blogging platforms.

  1. You enter a URL.
  2. Grabfeed detects and returns RSS / Atom feed URL for the website.

Installation

pip install grabfeed

Example Code

Return RSS feed

from grabfeed.grabber import return_feed
feed = return_feed('http://techcrunch.com')
print(feed.rss)
# output: http://techcrunch.com/feed/

Return Atom feed

from grabfeed.grabber import return_feed
feed = return_feed('https://google.blogspot.com/')
print(feed.atom)
# output: https://google.blogspot.com/feeds/posts/default

Tested platforms:

  • Wordpress, Blogger, Tumblr, Ghost, Svbtle and Medium
  • Works with most of the blogs on the web even though they are not be built with above platforms.
  • Support for:
    • Python 2.7
    • Python 3.3
    • Python 3.4
    • Python 3.5
    • Python 3.6
  • 100% test coverage