Skip to content

Instantly share code, notes, and snippets.

@jkpark
Last active January 8, 2021 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkpark/53a1808bf0376b9db71c93a9c3828748 to your computer and use it in GitHub Desktop.
Save jkpark/53a1808bf0376b9db71c93a9c3828748 to your computer and use it in GitHub Desktop.
flexget configuration file
# refer : https://github.com/Jonybat/flexget_config/blob/master/config.yml
variables: secrets.yml
templates:
anchors:
_transmission-settings: &transmission-settings
host: "{? transmission.host ?}"
port: 9091
username: "{? transmission.user ?}"
password: "{? transmission.pass ?}"
torrents:
torrent_alive:
min_seeds: 3
reject_for: 15 minutes
verify_ssl_certificates: no
magnets: no
# Global Settings
global:
pathscrub: windows
free_space:
path: "{? folder.root ?}"
space: 50000 # 50GB 이상일 경우 다운로드
regexp:
reject:
- (s|d)ub(s|bed)?\b: {from: title} # subbed, dubbed, etc
- \b3-?D\b: {from: title} # 3D
- \btrailer\b: {from: title} # trailer
- \bWEBSCR\b: {from: title} # WEBSCR
- \bTS\b: {from: title} # TS
- \bCam\b: {from: title} # CAM
content_filter:
require:
- '*.mp4'
- '*.mkv'
require_mainfile: yes # 파일이 여러개 있는 경우, mainfile 체크
template_series_korea:
include:
- wish.yml
transmission:
<<: *transmission-settings
ratio: 0
main_file_only: yes
rename_like_files: no
path: "{? folder.root ?}{? folder.down_path ?}{? folder.series_korea ?}{{ series_name }}"
series:
settings:
K_SERIES:
identified_by: ep
ep_regexp: e(\d+)
quality: 720p !1080p !360p
tasks:
download_series_korea:
inputs:
- rss: { url: 'https://localhost/bbs/rss.php?b=torrent_tv', silent: yes }
- rss: { url: 'https://localhost/bbs/rss.php?b=torrent_variety', silent: yes }
- rss: { url: 'https://localhost/bbs/rss.php?b=torrent_docu', silent: yes }
template:
- template_series_korea
- anchors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment