Files
flexget/config.yml
Slava 99674a82b2 Add files via upload
Added kinozal parser
2019-04-22 17:57:44 +03:00

187 lines
4.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
variables: variables.yml
schedules:
- tasks: Lostfilm
interval:
minutes: 10
- tasks: Baibako
interval:
minutes: 10
- tasks: Tapochek
interval:
minutes: 10
- tasks: Kinozal
interval:
minutes: 10
templates:
global:
pathscrub: windows
deluge:
host: 172.17.0.1
username: server
password: '2638'
tvshows:
metainfo_series: yes
trakt_lookup: yes
quality: 720p
deluge:
path: /mnt/sdb1/plex/TV Shows/{{series_name}}/Season {{series_season|pad(2)}}
exec:
allow_background: yes
auto_escape: yes
on_exit:
for_accepted:
- echo " `date +'%Y-%m-%d %H:%M:%S'` % {{task}} % ACCEPTED % {{series_name}} S{{series_season|pad(2)}}E{{series_episode}} {{quality}}" >> '{? path.a ?}'
films:
deluge:
path: /mnt/sdb1/plex/Films/{{ movie_name }} ({{ movie_year }})
trakt_lookup:
account: _rik_
imdb_lookup: yes
imdb:
min_score: 7
min_votes: 5000
quality: 720p-1080p
upgrade:
tracking: yes
target: 1080p h265
list_match:
remove_on_match: no
from:
- trakt_list:
account: _rik_
list: watchlist
type: movies
exec:
allow_background: yes
auto_escape: yes
on_exit:
for_accepted:
- echo " `date +'%Y-%m-%d %H:%M:%S'` % {{task}} % ACCEPTED % {{imdb_name}} ({{imdb_year}}) {{quality}}" >> '{? path.a ?}'
lostfilm:
lostfilm: yes
deluge:
label: lostfilm
headers:
cookie: '{? lostfilm.cookie ?}'
include: lostfilm.yml
template: tvshows
baibako:
rss: '{? RRSUrls.baibako ?}'
deluge:
label: baibako
manipulate:
- title:
replace:
format: '720p'
regexp: 'HD720p'
- title:
replace:
format: '1080p'
regexp: 'HD1080p'
- title:
replace:
format: '/ '
regexp: '/'
- title:
replace:
regexp: '(.*) / (.*) / (.*) / (.*) / (.*)'
format: '\1 - \2 \3 (\4)'
include: baibako.yml
template: tvshows
accept_all: yes
if:
- "'Доктор Хто' in title": reject
tapochek_films:
template: films
deluge:
label: tapochek
rss: '{? RRSUrls.tapochek ?}'
manipulate:
- title:
replace:
regexp: '-HEVC'
format: ' H265'
- title:
replace:
regexp: '(60 fps|iTunes|IMAX Edition|Open Matte|IMAX| г\.)'
format: ''
- title:
replace:
regexp: '\[\] '
format: ''
- title:
replace:
regexp: '(.*)/(.*) \((.*)\) \[(.*), (.*)\](.*)\[(.*)\]'
format: '\2 (\3) [\4, \5] [\7]'
- title:
replace:
regexp: '(.*) \((.*)\) \[(.[0-9]*)(.[А-Яа-я\,\ ]*)(.[a-zA-Z0-9\-\ ]*)\] \[(.*)\]'
format: '\1 (\3) - \5'
kinozal:
deluge:
label: kiozal
template: films
# rss: http://kinozal.tv/rss.xml
headers:
cookie: uid=20039663; pass=e5pi16jlzn; countrys=ru
html:
url: http://kinozal.tv/browse.php?s=hevc+1080p&g=0&c=1002&v=3&d=0&w=0&t=0&f=0
title_from: link
urlrewrite:
sitename:
regexp: 'http://kinozal.tv/details.php\?id=(?P<id>\d+).*'
format: 'http://dl.kinozal.tv/download.php?id=\g<id>'
manipulate:
- title:
extract: (.*)\[[*]*\]
- title:
replace:
regexp: 'HEVC'
format: 'H265'
- title:
replace:
regexp: '(.*) / (.*) / (.*[0-9\-]) / (.*) / (.*) / (.*) \((.*)\)'
# Репродукция / Replicas / 2018 / ДБ, СТ / HEVC / BDRip (1080p)
format: '\2 (\3) - \5 \6 \7'
- title:
replace:
regexp: '(.*) / (.*[0-9\-]) / (.*) / (.*) / (.*) \((.*)\)'
# Replicas / 2018 / ДБ, СТ / HEVC / BDRip (1080p)
format: '\1 (\2) - \4 \5 \6'
tasks:
Lostfilm:
template: lostfilm
Baibako:
template: baibako
Tapochek:
template: tapochek_films
Kinozal:
template: kinozal
# sort-series:
# metainfo_series: yes
# trakt_lookup: yes
# filesystem:
# path: /mnt/sdb1/plex/unsorted/
# regexp: '.*\.(avi|mkv|mp4)$'
# recursive: yes
# seen: local
# require_field: series_name
# accept_all: yes
# move:
# to: /mnt/sdb1/plex/TV Shows/{{ series_name }}/Season {{series_season|pad(2)}}
web_server:
bind: 0.0.0.0
port: 5050
web_ui: yes
base_url: /
run_v2: yes