Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables: secrets.yml
- schedules:
- ##### YOUR TORRENT CLIENT SHOULD RUN THIS COMMAND AFTER EVERY DOWNLOAD: PATH_TO_flexget/bin/flexget execute --tasks find-* move-*
- ##### Alternatively uncomment this task to process downloaded files every 30min.
- # - tasks: [ 'find-*', 'move-*']
- # interval:
- # minutes: 30
- ##### Every day at 2AM, check nextep to search (necessary if you added a new show to the list but have already watched it partly) and find subtitles #attempt #2 (without original name).
- - tasks: ['*-nextep']
- schedule:
- hour: 2
- ##### Twice a day between 2AM and 7AM: scan existing files, fill queue, check the feeds for latest episodes, discover missing episodes.
- - tasks: ['purge-*', 'populate-*', 'fill-*', '*-manual', '*-rss', '*-discover']
- schedule:
- hour: '2-7/2'
- ##### Weekly cleanup of Transmission, Trakt TVshows list (fully watched && ended = delete from list).
- - tasks: ['clean-*']
- interval:
- weeks: 1
- templates:
- ##### Series config# Please uncomment `tracking: backfill` if you need Flexget to download as much as old episodes as it can find. Do the same in series-discover-episodes and series-discover-seasons tasks
- series:
- thetvdb_lookup: yes
- tvmaze_lookup: yes
- configure_series:
- from:
- entry_list: trakt-series
- settings:
- identified_by: ep
- timeframe: 1 hours
- target: webrip+ <1080p h264+
- quality: webrip+ <=1080p h264+
- propers: 48 hours
- specials: no
- season_packs: 3
- tracking: backfill
- content_size:
- min: 100
- content_filter:
- require:
- - '*.mkv'
- - '*.mp4'
- ##### Movies config#
- movies-HQ:
- tmdb_lookup: yes
- movie_list: trakt-movies
- quality: 1080p webdl+
- content_size:
- min: 8000
- max: 15000
- movies-NQ:
- tmdb_lookup: yes
- movie_list: trakt-movies
- quality: 1080p webdl+
- content_size:
- min: 2000
- max: 7999
- movies-LQ:
- tmdb_lookup: yes
- movie_list: trakt-movies
- quality: 720p webdl+
- content_size:
- min: 900
- max: 8000
- ##### Common rejections#
- reject:
- regexp:
- reject:
- - \b(s|d)ub(s|bed|lado|titulado)?\b
- - \bhc\b
- - \bdual\b
- - \b3d\b
- - \bfre(nch)?\b
- - \bita(lian)?\b
- - \bspa(nish)?\b
- - \bger(man)?\b
- - \bcastellano\b
- - \brus(sian)?\b
- - \btamil\b
- - \bhindi\b
- - \bh265\b
- - \bx265\b
- content_filter:
- reject:
- - '*.rar'
- - '*.zip'
- - '*.exe'
- ##### ADVANCED SETTINGS #####
- ##### Global config#
- global:
- no_entries_ok: yes
- ##### Common torrents config#
- torrents:
- torrent_alive:
- min_seeds: 3
- reject_for: 15 minutes
- domain_delay:
- thepiratebay.se: 10 seconds
- thepiratebay.org: 10 seconds
- limetorrents: 3 seconds
- anidex.info: 3 seconds
- bt-chat.com: 1 seconds
- ezrss.it: 1 seconds
- showrss.info: 2 seconds
- torlock.eu: 1 seconds
- torrenticity.com: 1 seconds
- zooqle.com: 2 seconds
- urlrewrite:
- torrentz2:
- regexp: 'http://torrentz2.eu/(?P<id>\w*)'
- format: 'magnet:?xt=urn:btih:\g<id>&dn=&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce'
- place_torrent:
- utorrent:
- url: "{? utorrent.url ?}"
- username: "{? utorrent.user ?}"
- password: "{? utorrent.pass ?}"
- path: "{? utorrent.path ?}"
- ##### Pushbullet config#
- pushbullet:
- notify:
- entries:
- title: "[flexget] {{task}}"
- message: "{{title}}"
- via:
- - pushbullet:
- api_key: "{? pushbullet.api ?}"
- ##### Disable builtins for some tasks#
- disable-seen-retry:
- disable:
- - seen
- - seen_info_hash
- - retry_failed
- ##### Series metainfo mainly for move and update tasks#
- series-metainfo:
- metainfo_series: yes
- thetvdb_lookup: yes
- ##### Guessit parsing for some series tasks, not applied to all tasks because it causes issues with "name (year)" based series, like scandal#
- series-guessit:
- parsing:
- series: guessit
- ##### Movies metainfo mainly for move and update tasks#
- movies-metainfo:
- tmdb_lookup: yes
- parsing:
- movie: guessit
- metainfo_movie: yes
- movie-rss:
- inputs:
- - rss: https://www.torrentdownloads.me/rss.xml?cid=4&type=last
- - rss: https://www.torrentdownloads.me/rss2/popular/4
- tasks:
- ########## SERIES ##########
- # SYNC WITH TRAKT
- ##### First run only (use ~/flexget/bin/flexget execute --now) Sync Flexget database with watched status in Trakt#
- get-series-nextep:
- priority: 2
- manual: yes
- template:
- - disable-seen-retry
- - series-metainfo
- list_clear:
- what:
- - entry_list: trakt-series-begin
- next_trakt_episodes:
- account: "{? trakt.account ?}"
- list: "{? trakt.series ?}"
- context: watched
- position: next
- accept_all: yes
- list_add:
- - entry_list: trakt-series-begin
- set-series-nextep:
- manual: yes
- priority: 3
- template:
- - disable-seen-retry
- - series-metainfo
- entry_list: trakt-series-begin
- accept_all: yes
- set:
- series_name: "{{tvdb_series_name|escape|replace(''', '')}}"
- set_series_begin: yes
- # SCAN DATABASE
- ##### Populates the series database with the files on the library, to avoid duplicate downloads#
- populate-series-db:
- priority: 4
- template:
- - series-metainfo
- seen: local
- filesystem:
- path:
- - "{? folder.root_D ?}{? folder.series ?}"
- - "{? folder.root_E ?}{? folder.series ?}"
- - "{? folder.root_F ?}{? folder.series ?}"
- - "{? folder.root_G ?}{? folder.series ?}"
- - "{? folder.root_H ?}{? folder.series ?}"
- - "{? folder.root_I ?}{? folder.series ?}"
- - "{? folder.root_J ?}{? folder.series ?}"
- - "{? folder.root_K ?}{? folder.series ?}"
- - "{? folder.root_L ?}{? folder.series ?}"
- - "{? folder.root_M ?}{? folder.series ?}"
- recursive: yes
- retrieve: files
- regexp: '.*\.(avi|mkv|mp4)$'
- accept_all: yes
- configure_series:
- from:
- filesystem:
- path:
- - "{? folder.root_D ?}{? folder.series ?}"
- - "{? folder.root_E ?}{? folder.series ?}"
- - "{? folder.root_F ?}{? folder.series ?}"
- - "{? folder.root_G ?}{? folder.series ?}"
- - "{? folder.root_H ?}{? folder.series ?}"
- - "{? folder.root_I ?}{? folder.series ?}"
- - "{? folder.root_J ?}{? folder.series ?}"
- - "{? folder.root_K ?}{? folder.series ?}"
- - "{? folder.root_L ?}{? folder.series ?}"
- - "{? folder.root_M ?}{? folder.series ?}"
- retrieve: dirs
- settings:
- tracking: no
- identified_by: ep
- ##### Fetch, format and output trakt series list to a custom entry list#
- fill-series-list:
- priority: 5
- template:
- - disable-seen-retry
- - series-metainfo
- list_clear:
- what:
- - entry_list: trakt-series
- trakt_list:
- account: "{? trakt.account ?}"
- list: "{? trakt.series ?}"
- type: shows
- accept_all: yes
- set:
- title: "{{tvdb_series_name|escape|replace(''', '')}}"
- list_add:
- - entry_list: trakt-series
- # GET SERIES
- ##### Download episodes from manually downloaded torrents#
- download-series-manual:
- priority: 6
- template:
- - disable-seen-retry
- - series-metainfo
- - series-guessit
- - place_torrent
- - pushbullet
- filesystem:
- path: "{? folder.root ?}{? folder.downseries ?}"
- mask: '*.torrent'
- accept_all: yes
- exec:
- on_output:
- for_accepted: rm -f "{{location}}"
- ##### Download episodes from RSS feeds#
- download-series-rss:
- priority: 7
- template:
- - series
- - reject
- - torrents
- - place_torrent
- - pushbullet
- inputs:
- - rss:
- url: https://zooqle.com/search?q=%2A+category%3ATV&fmt=rss
- title: 'torrent:fileName'
- - rss: https://www.torrentdownloads.me/rss2/popular/8
- - rss: https://eztv.ag/ezrss.xml
- - rss: http://showrss.info/user/98577.rss?magnets=true&namespaces=true&name=null&quality=null&re=null
- - rss: https://zooqle.com/rss/tv/1dgthquysc.rss
- - rss: https://www.torrentfunk.com/verified/rss.xml
- - rss: https://www.limetorrents.info/rss/16/
- ##### Discover and download season packs# Please uncomment `backfill` if you need Flexget to download as much as old episodes as it can find. Do the same in series-discover-seasons task and series template.
- download-seasons-discover:
- priority: 8
- template:
- - series
- - reject
- - torrents
- - place_torrent
- - pushbullet
- - series-metainfo
- #season lookup not supported by thetvdb
- thetvdb_lookup: no
- # magnets: yes
- # convert_magnet:
- # timeout: 180 seconds
- # force: yes
- discover:
- release_estimations: strict
- interval: 15 minutes
- what:
- - next_series_seasons:
- backfill: yes
- from:
- - piratebay:
- category: highres tv
- - limetorrents:
- category: tv
- - rarbg:
- category: [1, 18, 41, 49]
- - search_rss: https://torrentz2.eu/search?f={{search_term}}
- ##### Discover and download older episodes# Please uncomment `tracking: backfill` if you need Flexget to download as much as old episodes as it can find. Do the same in series-discover-seasons task and series template.
- download-series-discover:
- priority: 9
- template:
- - series
- - reject
- - torrents
- - place_torrent
- - pushbullet
- - series-metainfo
- # magnets: yes
- # convert_magnet:
- # timeout: 180 seconds
- # force: yes
- discover:
- release_estimations: strict
- interval: 15 minutes
- what:
- - next_series_episodes:
- backfill: yes
- from:
- - piratebay:
- category: highres tv
- - limetorrents:
- category: tv
- - rarbg:
- category: [1, 18, 41, 49]
- - search_rss: https://torrentz2.eu/search?f={{search_term}}
- ########## MOVIES ##########
- ##### Remove manually downloaded movies from the movie queue and trakt list#
- purge-movies-queue:
- priority: 11
- template:
- - disable-seen-retry
- - movies-metainfo
- filesystem:
- path:
- - "{? folder.root_D ?}{? folder.movies ?}"
- - "{? folder.root_E ?}{? folder.movies ?}"
- - "{? folder.root_F ?}{? folder.movies ?}"
- - "{? folder.root_G ?}{? folder.movies ?}"
- - "{? folder.root_H ?}{? folder.movies ?}"
- - "{? folder.root_I ?}{? folder.movies ?}"
- - "{? folder.root_J ?}{? folder.movies ?}"
- - "{? folder.root_K ?}{? folder.movies ?}"
- - "{? folder.root_L ?}{? folder.movies ?}"
- - "{? folder.root_M ?}{? folder.movies ?}"
- recursive: yes
- retrieve: files
- regexp: '.*\.(avi|mkv|mp4)$'
- accept_all: yes
- list_remove:
- - movie_list: trakt-movies
- - trakt_list:
- account: "{? trakt.account ?}"
- list: "{? trakt.movies ?}"
- type: movies
- ##### Fill the movie queue with movies from trakt list#
- fill-movies-queue:
- priority: 12
- trakt_list:
- account: "{? trakt.account ?}"
- list: "{? trakt.movies ?}"
- type: movies
- strip_dates: yes
- accept_all: yes
- list_add:
- - movie_list: trakt-movies
- ##### Discover and download 1080p movies with good bitrate (min. 8GB)#
- download-movies-HQ-discover:
- priority: 14
- template:
- - movies-HQ
- - reject
- - torrents
- - place_torrent
- - pushbullet
- - movie-rss
- exists_movie:
- - "{? folder.root_D ?}{? folder.downmovies ?}"
- - "{? folder.root_E ?}{? folder.downmovies ?}"
- - "{? folder.root_F ?}{? folder.downmovies ?}"
- - "{? folder.root_G ?}{? folder.downmovies ?}"
- - "{? folder.root_H ?}{? folder.downmovies ?}"
- - "{? folder.root_I ?}{? folder.downmovies ?}"
- - "{? folder.root_J ?}{? folder.downmovies ?}"
- - "{? folder.root_K ?}{? folder.downmovies ?}"
- - "{? folder.root_L ?}{? folder.downmovies ?}"
- - "{? folder.root_M ?}{? folder.downmovies ?}"
- - "{? folder.root_D ?}{? folder.movies ?}"
- - "{? folder.root_E ?}{? folder.movies ?}"
- - "{? folder.root_F ?}{? folder.movies ?}"
- - "{? folder.root_G ?}{? folder.movies ?}"
- - "{? folder.root_H ?}{? folder.movies ?}"
- - "{? folder.root_I ?}{? folder.movies ?}"
- - "{? folder.root_J ?}{? folder.movies ?}"
- - "{? folder.root_K ?}{? folder.movies ?}"
- - "{? folder.root_L ?}{? folder.movies ?}"
- - "{? folder.root_M ?}{? folder.movies ?}"
- # magnets: yes
- # convert_magnet:
- # timeout: 180 seconds
- # force: yes
- seen: local
- discover:
- release_estimations: loose
- interval: 15 minutes
- what:
- - movie_list: trakt-movies
- from:
- - piratebay:
- category: highres movies
- - limetorrents:
- category: movies
- - rarbg:
- category: [17, 44, 45]
- - 1337x: yes
- - torrentz: good
- list_match:
- from:
- - movie_list: trakt-movies
- list_remove:
- - trakt_list:
- account: "{? trakt.account ?}"
- list: "{? trakt.movies ?}"
- type: movies
- ##### Discover and download NQ movies (fullHD min 2GB), if the movie is not recent#
- download-movies-NQ-discover:
- priority: 15
- template:
- - movies-NQ
- - reject
- - torrents
- - place_torrent
- - pushbullet
- - movie-rss
- exists_movie:
- - "{? folder.root_D ?}{? folder.downmovies ?}"
- - "{? folder.root_E ?}{? folder.downmovies ?}"
- - "{? folder.root_F ?}{? folder.downmovies ?}"
- - "{? folder.root_G ?}{? folder.downmovies ?}"
- - "{? folder.root_H ?}{? folder.downmovies ?}"
- - "{? folder.root_I ?}{? folder.downmovies ?}"
- - "{? folder.root_J ?}{? folder.downmovies ?}"
- - "{? folder.root_K ?}{? folder.downmovies ?}"
- - "{? folder.root_L ?}{? folder.downmovies ?}"
- - "{? folder.root_M ?}{? folder.downmovies ?}"
- - "{? folder.root_D ?}{? folder.movies ?}"
- - "{? folder.root_E ?}{? folder.movies ?}"
- - "{? folder.root_F ?}{? folder.movies ?}"
- - "{? folder.root_G ?}{? folder.movies ?}"
- - "{? folder.root_H ?}{? folder.movies ?}"
- - "{? folder.root_I ?}{? folder.movies ?}"
- - "{? folder.root_J ?}{? folder.movies ?}"
- - "{? folder.root_K ?}{? folder.movies ?}"
- - "{? folder.root_L ?}{? folder.movies ?}"
- - "{? folder.root_M ?}{? folder.movies ?}"
- # magnets: yes
- # convert_magnet:
- # timeout: 180 seconds
- # force: yes
- seen: local
- discover:
- release_estimations: loose
- interval: 15 minutes
- what:
- - movie_list: trakt-movies
- from:
- - piratebay:
- category: highres movies
- - limetorrents:
- category: movies
- - rarbg:
- category: [17, 44, 45]
- - 1337x: yes
- - torrentz: good
- list_match:
- from:
- - movie_list: trakt-movies
- list_remove:
- - trakt_list:
- account: "{? trakt.account ?}"
- list: "{? trakt.movies ?}"
- type: movies
- ##### Discover and download lower quality/bitrate movies (1-8GB 720p), if the movie is not recent#
- download-movies-LQ-discover:
- priority: 16
- template:
- - movies-LQ
- - reject
- - torrents
- - place_torrent
- - pushbullet
- - movie-rss
- exists_movie:
- - "{? folder.root_D ?}{? folder.downmovies ?}"
- - "{? folder.root_E ?}{? folder.downmovies ?}"
- - "{? folder.root_F ?}{? folder.downmovies ?}"
- - "{? folder.root_G ?}{? folder.downmovies ?}"
- - "{? folder.root_H ?}{? folder.downmovies ?}"
- - "{? folder.root_I ?}{? folder.downmovies ?}"
- - "{? folder.root_J ?}{? folder.downmovies ?}"
- - "{? folder.root_K ?}{? folder.downmovies ?}"
- - "{? folder.root_L ?}{? folder.downmovies ?}"
- - "{? folder.root_M ?}{? folder.downmovies ?}"
- - "{? folder.root_D ?}{? folder.movies ?}"
- - "{? folder.root_E ?}{? folder.movies ?}"
- - "{? folder.root_F ?}{? folder.movies ?}"
- - "{? folder.root_G ?}{? folder.movies ?}"
- - "{? folder.root_H ?}{? folder.movies ?}"
- - "{? folder.root_I ?}{? folder.movies ?}"
- - "{? folder.root_J ?}{? folder.movies ?}"
- - "{? folder.root_K ?}{? folder.movies ?}"
- - "{? folder.root_L ?}{? folder.movies ?}"
- - "{? folder.root_M ?}{? folder.movies ?}"
- # magnets: yes
- # convert_magnet:
- # timeout: 180 seconds
- # force: yes
- seen: local
- discover:
- release_estimations: loose
- interval: 15 minutes
- what:
- - movie_list: trakt-movies
- from:
- - piratebay:
- category: highres movies
- - limetorrents:
- category: movies
- - rarbg:
- category: [17, 44, 45]
- - 1337x: yes
- - torrentz: good
- list_match:
- from:
- - movie_list: trakt-movies
- list_remove:
- - trakt_list:
- account: "{? trakt.account ?}"
- list: "{? trakt.movies ?}"
- type: movies
- ##### Remove ended or canceled series that have been watched from trakt list#
- clean-series-list:
- priority: 52
- template:
- - disable-seen-retry
- - series-metainfo
- trakt_lookup:
- account: "{? trakt.account ?}"
- username: "{? trakt.account ?}"
- trakt_list:
- account: "{? trakt.account ?}"
- list: "{? trakt.series ?}"
- type: shows
- if:
- - "tvdb_status == 'Ended' and trakt_watched": accept
- list_remove:
- - trakt_list:
- account: "{? trakt.account ?}"
- list: "{? trakt.series ?}"
- type: shows
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement