Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.14 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.14 KB

RSS File Downloader / CLI

OpenSSF Scorecard

A flexible cli to download files from rss feeds, with support for filtering and templating.

Download

Download the binary from the GitHub Releases.

Configuration

feeds:
  - name: my-feed
    enabled: true
    output: /target-dir
    url: https://example.com/my-feed
    # use item title as filename
    template: "{title}"
    # rules, if set items must match at least one rule
    rules:
      - type: regex
        value: ".*"
    # exclude, all items matching a rule will be excluded (always has precedence over rules)
    exclude:
      - type: regex
        value: "prefix.*"

The download command will create a feed-state.json in the output directory to track the timestamp of the last download, only downloading newly added files.

Usage

rssdownloader download --config feeds.yaml

License

Released under the MIT license.