Merge: contrib: download files from RSS
authorJean Privat <jean@pryen.org>
Wed, 17 Dec 2014 04:54:09 +0000 (23:54 -0500)
committerJean Privat <jean@pryen.org>
Wed, 17 Dec 2014 04:54:09 +0000 (23:54 -0500)
commit160a9a039c6957a9134228393521ad93fcfcefd9
tree3936e964f939149d8f8fbcf3985ebbe01bdb6d94
parent35cdc39953b514aa4f0b8cd20078078369b834f7
parent2277e6bc371a30f15764f4293aa60cc7aed760a8
Merge: contrib: download files from RSS

Based on #831, ignore the first 4 commits.

### From the README

This tool downloads files pointed by RSS feeds.

It fetches the content of the RSS feed, the it filters it according to custom patterns and to existing folders on disk. Selected elements will be downloaded to the given folder.

This tool must be compiled with its configuration in order to work. See the `sample_config.nit` in `src/`.

#### Features and TODO

- [x] Download & parse RSS file
- [x] Generate regular expressions from local folders
- [x] Auto download files matching regular expressions
- [x] Memory to prevent double downloads
- [ ] Blacklist
- [ ] Use a cleaner RSS parser
- [ ] Tolerate more feed formats

Pull-Request: #1014
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>