commit 01d337d794ba42a675456b94d2d5998e77fada29 Author: kai Date: Thu Jun 4 10:11:42 2026 +0000 amazon_rss.py V1 diff --git a/app/collectors/amazon_rss.py b/app/collectors/amazon_rss.py new file mode 100644 index 0000000..5aea908 --- /dev/null +++ b/app/collectors/amazon_rss.py @@ -0,0 +1,15 @@ +# collectors/amazon_rss.py +import feedparser + +def fetch_amazon_deals(): + url = "https://www.amazon.de/gp/rss/deals" # Beispiel / Alternativ Affiliate Feeds + feed = feedparser.parse(url) + + deals = [] + for entry in feed.entries: + deals.append({ + "title": entry.title, + "url": entry.link, + "price": None + }) + return deals \ No newline at end of file