Advertisement
Guest User

Untitled

a guest
Aug 10th, 2014
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.23 KB | None | 0 0
  1. cat flexget.yml
  2. schedules:
  3.   - tasks: lostfilm
  4.     interval:
  5.       minutes: 30
  6. templates:
  7.   tvshows:
  8.     set:
  9.       allow_seasonless: yes
  10.       series_premiere: yes
  11.       path: /home/plex/media/Series/{{series_name|replace(' ', '_')}}/Season {{series_season}}
  12.     exists_series:  
  13.       path: /home/plex/media/Series/{{series_name|replace(' ', '_')}}/Season {{series_season}}
  14.       allow_different_qualities: no
  15.     transmission:
  16.       host: localhost
  17.       port: 9091
  18.       username: user
  19.       password: "pass"
  20.   normalizeLOST:
  21.     manipulate:
  22.       - title:
  23.          replace:
  24.            regexp: '[^\x00-\x80]+'
  25.            format: ''
  26.       - url:
  27.          replace:
  28.            regexp: '&amp'
  29.            format: '&'
  30.   normalizeNEWSTUDIO:
  31.     manipulate:
  32.       - title:
  33.          from: description
  34.       - title:
  35.          replace:
  36.           regexp: 'WEBDLRip'
  37.           format: 'WEBDLRip 480p'
  38.       - title:
  39.          replace:
  40.           regexp: '(.*)Сезон\s(\d+),\sСерия\s(\d+).*(\/\s)(.*)\s\(.*\).*\s(\d+)'
  41.           format: '\5 s\2e\3 \6'
  42.       - quality:
  43.           from: title
  44.           replace:
  45.             regexp: '(.*).*\s(\d+)p$'
  46.             format: '\2p'
  47.   formatSeries:
  48.     quality:
  49.       - '720p+'
  50.     regexp:
  51.       reject:
  52.         - The Complete
  53.   listseries:
  54.     series:
  55.       include: [ series.yml ]
  56. tasks:
  57.   lostfilm:
  58.     priority: 1
  59.     template:
  60.       - tvshows
  61.       - formatSeries
  62.       - listseries
  63.       - normalizeLOST
  64.     headers:
  65.       cookie: "uid=uid; pass=pass; usess=usess"
  66.     rss: http://www.lostfilm.tv/rssdd.xml
  67.     urlrewrite:
  68.       newlost:    
  69.         regexp: 'http://lostfilm.tv/download.php\?(?P<details>.*)'
  70.         format: 'http://www.lostfilm.tv/download.php?\g<details>'
  71.   anilibria:
  72.     template:
  73.       - tvshows
  74.       - listseries
  75.     rss: http://www.anilibria.tv/wp-content/plugins/tracker-frontend/rss.php?uid=uid&uname=&uhash=hash
  76.   newstudio.tv:
  77.     priority: 2
  78.     template:
  79.       - tvshows
  80.       - normalizeNEWSTUDIO
  81.       - listseries
  82.       - formatSeries
  83.     rss: http://newstudio.tv/rss.php?user=user&pass=pass
  84.   Baibako:
  85.     headers:
  86.       Cookie: uid=92686; pass=40fdd6c80d09122ad05792b49f6c81f2;
  87.     rss: http://baibako.tv/rss2.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement