Skip to content

cli to download files from rss feeds - rule based inclusion/exclusion

License

Notifications You must be signed in to change notification settings

PhilippHeuer/rssdownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

cli to download files from rss feeds - rule based inclusion/exclusion

Topics

Resources

License

Stars

Watchers

Forks

Languages