feedfinder2
feedfinder2 is a Python library designed to locate RSS, Atom, and other feed URLs associated with a given website. It is based on the original `feedfinder` by Mark Pilgrim. The current version is 0.0.4, released in January 2016, indicating it is no longer actively maintained.
Warnings
- deprecated The `feedfinder2` library is largely unmaintained, with its last release in January 2016. Users should consider more actively developed alternatives.
- gotcha The feed ranking algorithm in `feedfinder2` is not always reliable. It attempts to rank feeds, but the results 'you never know' are not guaranteed to be the 'best' candidate.
- gotcha This library does not support JSON feeds. For applications requiring JSON feed discovery, alternative libraries are necessary.
Install
-
pip install feedfinder2
Imports
- find_feeds
from feedfinder2 import find_feeds
Quickstart
from feedfinder2 import find_feeds
url_to_check = 'http://xkcd.com'
feeds = find_feeds(url_to_check)
if feeds:
print(f'Found feeds for {url_to_check}:')
for feed_url in feeds:
print(feed_url)
else:
print(f'No feeds found for {url_to_check}.')