Skip to content

Instantly share code, notes, and snippets.

@SmartFinn
Last active November 30, 2021 14:45
Show Gist options
  • Save SmartFinn/b292df489271283787aaa64e8575a502 to your computer and use it in GitHub Desktop.
Save SmartFinn/b292df489271283787aaa64e8575a502 to your computer and use it in GitHub Desktop.
My current config for FlexGet
schedules:
- tasks: '*'
interval:
hours: 1
- tasks: 'LOCAL'
interval:
hours: 4
web_server:
bind: 0.0.0.0
port: 3539
variables: secrets.yml
templates:
transmission:
transmission:
host: transmission
port: 9091
ratio: 2.0
delete_file:
exec: rm -f -- "{{ location }}"
mkdir:
exec: test -e "{{ path }}" || mkdir -m 775 -p "{{ path }}"
manual:
manual: yes
series:
series:
settings:
main:
qualities:
- 720p
- hdtv+
tracking: no
set: { path: "/media/shared/Videos/TV Shows/{{ series_name }}" }
season:
set: { path: "/media/shared/Videos/TV Shows/.collector/" }
tasks:
LOCAL:
filesystem:
path:
- "/media/shared/Downloads"
- "/media/shared/Public"
- "/media/shared/Videos"
mask: '*.torrent'
recursive: 3
retrieve: files
accept_all: yes
no_entries_ok: yes
set: { path: "{{ location | pathdir }}" }
disable:
- seen
- seen_info_hash
template:
- transmission
- delete_file
LOSTFILM:
lostfilm: yes
headers:
cookie: '{? lostfilm.headers.cookie ?}'
series:
main:
# - Serial name:
# path: "/Volume/Videos/TV Shows/Serial name"
- Better Call Saul
- Fargo
- Narcos
- Stranger Things
- The Expanse
template:
- transmission
- mkdir
- series
NOVAFILM:
rss: http://novafilm.tv/rss/rssd.xml
headers:
cookie: '{? novafilm.headers.cookie ?}'
series:
main:
# - Serial name
- 'undefined id'
template:
- transmission
- mkdir
- series
- manual
LITRCC:
rss: '{? litrcc.rss ?}'
accept_all: yes
template:
- transmission
- season
- manual
SOAP4ME:
rss: '{? soap4me.rss ?}'
headers:
User-Agent: '{? soap4me.user-agent ?}'
manipulate:
- title:
replace:
# regexp: '(.+)\s/\s.+\s(\d+)\s.+\s(\d+)\s/\s(.+)\s/.+:\s(.+),.+:\s((SD|HD|fullHD))'
regexp: '(.+)/.*(\d{2}).*(\d{2}).*/(.+)\s/.*:\s(.+),.*:\s(.+)'
format: '[\5] \1 - \4, (S\2E\3) \6TV'
series:
main:
# - Serial name:
# from_group: Release group
- South Park:
from_group: VO L0cDoG
- Doctor Who:
from_group: Baibak&Ko
- The Marvelous Mrs Maisel:
from_group: Субтитры
- Rick and Morty:
from_group: Сыендук
- Black Mirror:
from_group: Кубик в Кубе
- The Grand Tour:
from_group: Jetvis Studio
- The Morning Show:
from_group: NewStudio
- Resident Alien:
from_group: Кубик в Кубе
template:
- transmission
- mkdir
- series
ALEXFILM:
rss: '{? alexfilm.rss ?}'
regexp:
accept:
# - Serial name
- 'undefined id'
quality:
- 720p hdtv+
disable: seen
template:
- transmission
- season
NNMCLUB:
# Usage
# -----
# http://nnmclub.to/forum/viewtopic.php?t=289379
# ^^^^^^
# regexp:
# accept:
# # Battlestar Galactica
# - '289379'
# - - -
rss: '{? nnmclub.rss ?}'
regexp:
accept:
- 'undefined id'
from: description
disable: seen
template:
- transmission
- season
- manual
RUTRACKER:
# Usage
# -----
# http://rutracker.org/forum/viewtopic.php?t=1171173
# ^^^^^^^
# regexp:
# accept:
# # Battlestar Galactica
# - '1171173'
# - - -
inputs:
- rss: http://feed.rutracker.org/atom/f/2366.atom
- rss: http://feed.rutracker.org/atom/f/189.atom
- rss: http://feed.rutracker.cc/atom/f/842.atom
- rss: http://feed.rutracker.cc/atom/f/314.atom
rutracker_auth:
username: '{? rutracker.username ?}'
password: '{? rutracker.password ?}'
regexp:
accept:
- 'undefined id'
# The Accident Files (season 3)
- '5946506'
# Air Crash Investigation (season 21)
- '6041509'
from: url
seen:
local: yes
fields: [title]
template:
- transmission
- season
lostfilm:
headers:
cookie: lf_session=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
novafilm:
headers:
cookie: nftv=xxxxxxxxxxxxxxxxxxxxxxxxxx
litrcc:
rss: http://litr.cc/rss/download/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
soap4me:
rss: http://soap4.me/rss/full/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
user-agent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
alexfilm:
rss: http://alexfilm.cc/rss.php?uk=xxxxxxxxxxxx&uid=00000
nnmclub:
rss: http://nnmclub.to/forum/rss2.php?uk=xxxxxxxxxx&f=496,768,232&r&h=72
rutracker:
username: 'xxxxxx'
password: 'xxxxxx'
@bugavka
Copy link

bugavka commented Jan 17, 2018

Прости, что сюда, не понял, как в лс написать. Не могу разобраться с конф флекса. Хочу, чтобы трансмишн качал премьерные сериалы в отдельную папку, Поможешь разобраться? мой текущий конф https://pastebin.com/2WgA0dRb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment