https://github.com/dfm/feedfinder2
A Python library for finding feed links on websites.
https://github.com/dfm/feedfinder2
Last synced: about 1 year ago
JSON representation
A Python library for finding feed links on websites.
- Host: GitHub
- URL: https://github.com/dfm/feedfinder2
- Owner: dfm
- License: mit
- Created: 2013-08-24T00:30:34.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T13:23:19.000Z (almost 4 years ago)
- Last Synced: 2024-04-29T22:17:40.282Z (about 2 years ago)
- Language: Python
- Size: 11.7 KB
- Stars: 49
- Watchers: 4
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Feedfinder2
===========
This is a Python library for finding links feeds on a website. It is based on
`feedfinder `_ - originally
written by `Mark
Pilgrim `_ and
subsequently maintained by `Aaron
Swartz `_ until his untimely death.
Usage
-----
Feedfinder2 offers a single public function: ``find_feeds``. You would use it
as follows:
::
from feedfinder2 import find_feeds
feeds = find_feeds("xkcd.com")
Now, ``feeds`` is the list: ``['http://xkcd.com/atom.xml',
'http://xkcd.com/rss.xml']``. There is some attempt made to rank feeds from
best candidate to worst but... well... you never know.
License
-------
Feedfinder2 is licensed under the MIT license (see LICENSE).