See
http://flexget.readthedocs.org