Thanks to visit codestin.com
Credit goes to github.com

Skip to content

iamben/fetchFeeds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

fetchFeeds.py: simple script to fetch RSS feeds into file

Requirements

  • Python 2.7+
  • html2text: textproc/py-html2text in FreeBSD ports.
  • feedparser: textproc/py-feedparser in FreeBSD ports.

Usage

$ fetchFeeds.py [-h] --feed FEEDURL [--info] [--prefix PREFIX] [--quiet] [--raw]
  • -h

    Show help message

  • -f, --feed

    Feed URL, required

  • -i, --info

    Only show feed info (title, URL)

  • -p, --prefix

    Prefix of feed storage path

  • -q, --quiet

    Quiet mode, no progress message is printed

  • -r, --raw

    Raw mode, HTML tags is preserved.

Output

The feeds would be stored in [directory-to-store-feeds] (cwd if no sepcified) with the file name to be the timestamp of the feed.

The html tag in original feed would be striped using html2text.

About

simple RSS feed fetcher

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages