Skip to content
Python package to detect and return RSS / Atom feeds for a given website. The tool supports major blogging platform including Wordpress, Blogger, Tumblr, Ghost, Svbtle, medium and many other.
Python
Branch: master
Clone or download
Latest commit 95bf237 Oct 20, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Update readme Oct 20, 2017
grabfeed
.coverage removed unnecessary code Jan 12, 2016
.gitignore removed unnecessary Jan 12, 2016
.travis.yml Remove pypy test Jun 20, 2017
LICENSE.md Create LICENSE.md May 31, 2014
MANIFEST
README.md
requirements.txt Split requirements and different python version Jun 20, 2017
requirements_dev.txt Remove pypy test Jun 20, 2017
setup.cfg added reqd. pypi files May 31, 2014
setup.py Remove pypy test Jun 20, 2017

README.md

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
You can’t perform that action at this time.