dbiesecke
12/3/2017 - 4:38 AM

FlexGet

FlexGet

FlexGet

Editor: Link

schedules:
  -
    interval:
      minutes: 1
    tasks: '*'
web_server: true
tasks:
  download_files:
    manual: no
    ftp_list:
      use-ssl: yes
      name: fontana
      username: foilo
      password: yeah12ha
      host: fontana01.mooo.com
      port: 10900
      recursion: 1
      retrieve: dirs
      use_ssl: yes
      dirs: [/iNCOMiNG/]
      series: [2.Broke.Girls, Simpsons]
      recursion_depth: 2
    disable:
      - seen_info_hash
      - seen
      - backlog
    accept_all: yes
    ftp_download:
      ftp_tmp_path: '/mnt/*****/'
      delete_origin: true
      use-ssl: yes
web_server: true

templates:
  tv:
    series:
      settings:
        720p:
          timeframe: 12 hours

      720p:
        - simpsons
        - 2 Broke Girls
        - Game of Thrones

    download: /media/tmp

tasks:
  my-feed-a:
    rss: https://www.xrel.to/feeds/atom/releases-tv-tvseries.xml
    template: tv




web_server: true

templates:
  tv:
    series:
      settings:
        720p:
          timeframe: 12 hours

      720p:
        - simpsons
        - 2 Broke Girls
        - Game of Thrones

    download: /media/tmp/

tasks:
  download:
    inputs:
      - { rss: { url: 'https://www.xrel.to/feeds/atom/releases-tv-tvseries.xml' } }
    series:
      720p: ['Game of Thrones', Simpsons]
    manipulate:
      - { url: { extract: '(?:\:\d+\/)(.*)' } }
    exec:
      fail_entries: yes
      allow_background: yes
      auto_escape: yes
      on_output: { for_accepted: 'sleep 5; bash ~/ftpauto.sh --path="{{location}}/" --user=foilo --source=FLXDL &' }