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 feedfinder2Verified import paths — ran on the pinned version, not inferred.
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.
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.
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.
Use a successor library like `feedsearch` which explicitly supports JSON feeds alongside RSS and Atom.
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`.
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`.
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`.