Skip to content

Instantly share code, notes, and snippets.

@ashx3s
Last active December 8, 2021 20:28
Show Gist options
  • Select an option

  • Save ashx3s/3b559e85ffb7c7c1edb0750de69a49cc to your computer and use it in GitHub Desktop.

Select an option

Save ashx3s/3b559e85ffb7c7c1edb0750de69a49cc to your computer and use it in GitHub Desktop.
Fedora Web Python RSS Handling

Fedora Website RSS Python Script

These are some notes on how python scripts are used in Fedora's websites to pull data from RSS feeds.

Python Modules Uses

  • feedparser
  • feedparser.parse() to parse through content from a url or file
  • access elements using d.feed
    • set d = feedparser.parse()
    • then access elements ie: d.feed.link
      • you can access elements from specific entries like d.feed[0].link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment