From 01d337d794ba42a675456b94d2d5998e77fada29 Mon Sep 17 00:00:00 2001 From: kai Date: Thu, 4 Jun 2026 10:11:42 +0000 Subject: [PATCH] amazon_rss.py V1 --- app/collectors/amazon_rss.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app/collectors/amazon_rss.py 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