Advertisement
Ankirama

flexget config for animes

Dec 29th, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.67 KB | None | 0 0
  1. # Import file with secret info like user/password transmission
  2. secrets: secrets.yml
  3. templates:
  4.   global:
  5.    # default config.yml
  6.     plugin_priority:
  7.       headers: 250
  8.     headers:
  9.       User-Agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"
  10.       Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
  11.       Accept-Charset: "ISO-8859-1,utf-8;q=0.7,*;q=0.3"
  12.       Accept-Language: "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"
  13.       Cache-Control: "max-age=0"
  14.       Connection: "keep-alive"
  15.       Cookie: "uid=94769971; pass=878ef42be543608524be5a98ef1b22e52300619d; authKey=430f8d902a308ef495d0f7a9bb783361"
  16.      
  17.     # configuration for pushover
  18.     # -> each feed will send a notification
  19.     # read doc: http://flexget.com/wiki/Plugins/pushover
  20.     pushover:
  21.       userkey: '{{ secrets.pushover.userkey }}'
  22.       apikey: '{{ secrets.pushover.apikey }}'
  23.       title: 'Downloading {{series_name}}'
  24.       message: 'Episode {{series_id}}'
  25.       priority: 2 #Emergency - accepts Jinja2 tags
  26.  
  27.   # configuration of transmission
  28.   # -> each accepted feed item will be piped to transmission
  29.   # read doc: http://flexget.com/wiki/Plugins/transmission
  30.   transmissionrpc:
  31.     transmission:
  32.       host: localhost
  33.       port: 9091
  34.       username: '{{ secrets.transmission.user }}'
  35.       password: '{{ secrets.transmission.password }}'
  36.       ratio: -1.0 #infinite ratio
  37.       addpaused: No
  38.       path: /home/ankirama/data/
  39.       main_file_only: yes
  40.       include_subs: yes
  41.       skip_files:
  42.        - '*.nfo'
  43.         - '*.sfv'
  44.         - '*.txt'
  45.  
  46.   # configure anime template, we will need to list our shows or use a plugin like https://github.com/edhaker13/myanimelist
  47.   anime:
  48.    # read doc: http://flexget.com/wiki/Plugins/exists_series
  49.     exists_series:
  50.       path: '/home/ankirama/data/series/{{series_name}}/'
  51.       allow_different_qualities: better
  52.  
  53.     #list animes
  54.     series:
  55.      - Heavy Object
  56.       - Utawarerumono
  57.     # read doc: http://flexget.com/wiki/Plugins/content_size
  58.     # We can't use quality to find our animes since some titles don't contain "720p" or 1080p but HD / FHD
  59.     content_size:
  60.       min: 200
  61.     # quality parameters
  62.     #quality:
  63.     #  720p-1080p
  64.     # set path where files will be downloaded
  65.     set:
  66.       path: '/home/ankirama/data/series/{{series_name}}/'
  67.  
  68.  
  69. # tasks section:
  70. tasks:
  71.   nyaa:
  72.     rss: http://www.nyaa.se/?page=rss&cats=1_38&filter=0&term=vostfr
  73.     #rss: http://www.nyaa.se/?page=rss
  74.     no_entries_ok: yes
  75.     template:
  76.      - transmissionrpc
  77.       - anime
  78.  
  79. # schedules
  80. # Used to specify interval
  81. schedules:
  82.   - tasks: '*'
  83.     interval:
  84.       hours: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement