Call the RSS Feed Reader from Python with the official apify-client. These snippets invoke the hosted Actor — no Actor source code is included in this repo.
pip install apify-clientfrom apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("logiover/bulk-rss-feed-reader").call(run_input={
"feedUrls": [
"https://hnrss.org/frontpage",
"https://www.theverge.com/rss/index.xml",
"https://techcrunch.com/feed/",
],
"maxItemsPerFeed": 25,
})
for it in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"[{it['pubDate']}] {it['feedTitle']} — {it['title']}")
print(" ", it["link"])run = client.actor("logiover/bulk-rss-feed-reader").call(run_input={
"feedUrls": ["https://arstechnica.com", "https://www.theverge.com"],
"discoverFromWebsites": True,
"maxItemsPerFeed": 10,
})run = client.actor("logiover/bulk-rss-feed-reader").call(run_input={
"feedUrls": ["https://feeds.megaphone.fm/thedailyshow"],
"maxItemsPerFeed": 10,
})
episodes = [
{"title": it["title"], "audio": it["enclosureUrl"], "date": it["pubDate"]}
for it in client.dataset(run["defaultDatasetId"]).iterate_items()
if it.get("enclosureUrl")
]
print(episodes)import pandas as pd
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("logiover/bulk-rss-feed-reader").call(run_input={
"feedUrls": ["https://hnrss.org/frontpage"],
"maxItemsPerFeed": 50,
})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
df = pd.DataFrame(items)
df.to_csv("feed-items.csv", index=False)
print(df[["feedTitle", "title", "pubDate", "link"]].head())run = client.actor("logiover/bulk-rss-feed-reader").call(run_input={
"feedUrls": ["https://hnrss.org/frontpage"],
"maxResults": 500,
})
docs = [
{
"id": it["guid"],
"text": it.get("contentSnippet") or it.get("content") or it["title"],
"url": it["link"],
"published": it["pubDate"],
}
for it in client.dataset(run["defaultDatasetId"]).iterate_items()
]
# → send `docs` to your vector store / summarizer