Skip to content

Latest commit

 

History

History
75 lines (57 loc) · 1.93 KB

File metadata and controls

75 lines (57 loc) · 1.93 KB

Apify CLI — RSS Feed Reader

Run the RSS Feed Reader from your terminal with the Apify CLI. These snippets call the hosted Actor — there is no Actor source code in this repo.

Install & log in

npm install -g apify-cli
apify login   # paste your API token from https://console.apify.com/account/integrations

Run with the default sample feeds (empty input)

apify call logiover/bulk-rss-feed-reader

Read your own list of feeds

apify call logiover/bulk-rss-feed-reader \
  --input='{
    "feedUrls": [
      "https://hnrss.org/frontpage",
      "https://www.theverge.com/rss/index.xml",
      "https://techcrunch.com/feed/"
    ],
    "maxItemsPerFeed": 25,
    "maxResults": 1000
  }'

Auto-discover feeds from plain website URLs

apify call logiover/bulk-rss-feed-reader \
  --input='{
    "feedUrls": ["https://arstechnica.com", "https://www.theverge.com"],
    "discoverFromWebsites": true,
    "maxItemsPerFeed": 10
  }'

Grab the latest 10 podcast episodes (audio URLs)

apify call logiover/bulk-rss-feed-reader \
  --input='{
    "feedUrls": ["https://feeds.megaphone.fm/thedailyshow"],
    "maxItemsPerFeed": 10,
    "maxConcurrency": 5
  }'

Build the feed list from a file

jq -Rn '{ feedUrls: [inputs], maxItemsPerFeed: 25 }' feeds.txt \
  | apify call logiover/bulk-rss-feed-reader --input-file=-

Download the results

apify datasets:get-items <DATASET_ID> --format=csv  > feed-items.csv
apify datasets:get-items <DATASET_ID> --format=json > feed-items.json

Tips

  • Set maxItemsPerFeed to keep only the newest N posts per source; leave it at 0 to backfill everything.
  • Use maxResults to cap total rows and cost on very large lists.
  • Schedule the Actor so GUID de-dupe surfaces only newly published items each run.

▶️ Actor page: https://apify.com/logiover/bulk-rss-feed-reader