Registry / http-networking / feedfinder2

feedfinder2

JSON →
library0.0.4pypypi✓ verified 23d ago

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.

pip install feedfinder2
INSTALL
IMPORT
SIG · FEEDFINDER2
F
feedfinder2
http-networkingpythonv0.0.4
Install
3.2s avg
Import
486ms
Disk
22MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.0.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.496s · 23.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.2s · import 0.476s · 24MB
22MB installed
● package 22MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

find_feeds
from feedfinder2 import find_feeds
The primary and only public function provided by the library.

This quickstart demonstrates how to use `feedfinder2` to discover feed URLs for a given website. The `find_feeds` function takes a URL string and returns a list of discovered feed URLs.

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}.')
Debug
Known issues
deprecatedThe `feedfinder2` library is largely unmaintained, with its last release in January 2016. Users should consider more actively developed alternatives.
fix
Consider migrating to actively maintained libraries like `feedsearch` or `feed-seeker` which offer enhanced features, bug fixes, and support for modern feed types like JSON feeds.
affects: <=0.0.4
gotchaThe 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.
fix
For applications requiring highly accurate or prioritized feed discovery, manual validation or the use of more sophisticated libraries (e.g., `feedsearch` which provides a score) might be necessary.
affects: 0.0.1 - 0.0.4
gotchaThis library does not support JSON feeds. For applications requiring JSON feed discovery, alternative libraries are necessary.
fix
Use a successor library like `feedsearch` which explicitly supports JSON feeds alongside RSS and Atom.
affects: All versions
Errors
Common errors & fixes
UnicodeDecodeError: 'gbk' codec can't decode bytes in position 161-162: illegal multibyte sequence
This error occurs during installation (e.g., `pip install feedfinder2`) when the system's default encoding (like 'gbk' on some Windows systems) cannot properly decode the `README.rst` file, which might be encoded in UTF-8.
fix
This issue was reported to be fixed in `feedfinder2` version 0.0.2. Ensure you are installing the latest version. If the problem persists, try explicitly setting the `PYTHONIOENCODING` environment variable to `utf-8` before installation (e.g., `set PYTHONIOENCODING=utf-8 && pip install feedfinder2` on Windows or `export PYTHONIOENCODING=utf-8; pip install feedfinder2` on Linux/macOS). You could also try installing from the GitHub repository directly: `pip install https://github.com/dfm/feedfinder2/archive/master.zip`.
ImportError: No module named six.moves.urllib
This error occurs during installation of older `feedfinder2` versions, particularly when installing directly from source, because the `six` library, a dependency, is not installed or available in the environment when `feedfinder2`'s `setup.py` attempts to import `feedfinder2` itself.
fix
This issue was reported to be fixed in `feedfinder2` versions after 0.0.1. Ensure `six` is installed by running `pip install six` before installing `feedfinder2`. Alternatively, install the latest version of `feedfinder2` which should handle dependency resolution correctly: `pip install feedfinder2`.
ModuleNotFoundError: No module named 'feedfinder2'
This is a common error indicating that the `feedfinder2` library has not been installed in the Python environment currently in use, or there's a typo in the import statement.
fix
Install the library using pip: `pip install feedfinder2`. Ensure that the Python interpreter running your code is the same one where `feedfinder2` was installed, and that the import statement is `from feedfinder2 import find_feeds`.
Upgrade
Version history
0.0.4latest on PyPI · released Jan 25, 2016
Audit
Dependencies
requestsrequiredUsed for making HTTP requests to fetch web page content.
beautifulsoup4requiredUsed for parsing HTML to discover feed links.
Agent activity
5 hits · last 30 days
node
4
Resources
feedfinder2 — pip install feedfinder2 · libregistry