weboob-devel/contrib/downloadboob
Laurent Bachelier e0542c2e4a Fix comparisons to None
Diff checked manually.

autopep8 -a -ir -j2 --select=E711 .

This required the "agressive" option because it can change code
behavior.
2013-03-16 00:57:30 +01:00
..
downloadboob.conf Add utf-8 support on title_exclude 2013-02-28 15:35:56 +01:00
downloadboob.py Fix comparisons to None 2013-03-16 00:57:30 +01:00
README Add a "id_regexp" parameter to filter results on video id 2013-02-08 14:15:11 +01:00

This script can be used to automatically download videos matching some criteria.

To avoid to download a video twice, all videos are stored in an unique way : .files/<backend name>/<video.id>.avi

For each entry in the configuration file, the script :
- check for new video
- download the new videos
- create a link from <user specify name>/<video.name>.avi to .files/<backend name>/<video id>.avi

In each section of the configuration file :
- backend : the backend to use
- pattern : specify the search pattern
- title_exclude : a pipe seperated list. If an item in this list is substring of the title, then the video is ignored.
- id_regexp : an optional regular expression that the video id must match
- max_results : maximum number of result to parse
- directory : the <user specify name> above.