# RSS Tasks


Tasks for interacting with RSS feeds.

# ParseRSSFeed

class

prefect.tasks.rss.feed.ParseRSSFeed

(feed_url=None, **kwargs)[source]

Task for parsing RSS feeds. Note that all initialization arguments can optionally be provided or overwritten at runtime.

Args:

  • feed_url (str): A remote URL pointing to an RSS feed
  • **kwargs (dict, optional): additional keyword arguments to pass to the Task constructor

methods:                                                                                                                                                       

prefect.tasks.rss.feed.ParseRSSFeed.run

(feed_url=None)[source]

Task run method.

Args:

  • feed_url (str): A remote URL pointing to an RSS feed
Return: - FeedParserDict: A dictionary representing the information from the parsed feed. The object is accessable through indexing and attributes.

Raises:
  • ValueError: if feed_url is None



This documentation was auto-generated from commit ffa9a6c
on February 1, 2023 at 18:44 UTC