Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Find the feed URLs for a website.

Project description

This is an asynchronous Python library for finding links feeds on a website.

It is based on the synchronous (requests based) feedfinder2, written by Dan Foreman-Mackey, which is based on feedfinder - originally written by Mark Pilgrim and subsequently maintained by Aaron Swartz until his untimely death.


Feedfinder2 offers a single public function: find_feeds. You would use it as following:

import asyncio
from aio_feedfinder2 import find_feeds

loop = asyncio.get_event_loop()
task = asyncio.ensure_future(find_feeds(""))
feeds = loop.run_until_complete(future)

Now, feeds is the list: ['', '']. There is some attempt made to rank feeds from best candidate to worst but… well… you never know.

This asyncio variant is ideally suited to find feeds on multiple domains/ sites in an asynchronous way:

import asyncio
from aio_feedfinder2 import find_feeds

loop = asyncio.get_event_loop()
tasks = [find_feeds(url) for url in ["", ""]]
feeds = loop.run_until_complete(asyncio.gather(*tasks))

>>> feeds
... [
...     ['', ''],
...     ['', '']
... ]


Feedfinder2 is licensed under the MIT license (see LICENSE).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aio-feedfinder2, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size aio_feedfinder2-0.3.0-py3-none-any.whl (6.3 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size aio-feedfinder2-0.3.0.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page