Skip to content

Instantly share code, notes, and snippets.

@wicastchen
Last active January 19, 2021 21:08
Show Gist options
  • Save wicastchen/639b334b7a506185ab57 to your computer and use it in GitHub Desktop.
Save wicastchen/639b334b7a506185ab57 to your computer and use it in GitHub Desktop.
a sample for flexget 1.2 with aria2
#重要!!!每个“:”、“-”后的参数前面一定要加空格!!!
templates:
aria:
aria2:
server: localhost
port: 6800
do: add-new
uri: '{{url}}'
rename_content_files: yes
rename_template: '{{series_name}} {{series_id}}'
aria_config:
dir: 'your directory for download/{{series_name}}'
#代理设置
goagent:
proxy: http://127.0.0.1:8087
verify_ssl_certificates: no
gaephp:
proxy: http://127.0.0.1:8088
verify_ssl_certificates: no
global:
regexp:
reject:
- '[极極]影字幕[组社]|无字幕*|Leopard-Raws'
- 'rerip|repack|proper|COMPLETE|complete|合集|\d*[_\-\[\W]*[vV][23]'
from: title
pushbullet:
apikey: 'your key'
body: '{{title}} {{url}}'
#解决使用torcache时aria2只下载torrent文件不添加BT任务
urlrewrite:
torcache:
regexp: 'http://torcache.net/torrent/(?P<id>\w+).torrent\?title=(?P<name>.*)'
format: 'magnet:?xt=urn:btih:\g<id>'
tasks:
ngnl:
rss:
url: 'http://bt.ktxp.com/rss-search-no+game+no+life.xml'
all_entries: no
series:
- No Game No Life:
exact: yes
quality: 720p
name_regexp:
- '游戏人生'
- 'no game no life'
begin: 10
template:
- aria
Halt and Catch Fire:
rss:
url: 'http://kickass.to/usearch/halt%20and%20catch%20fire/?rss=1'
all_entries: no
series:
- Halt and Catch Fire:
quality: 720p
template:
- aria
- goagent
@weal1312
Copy link

weal1312 commented Jan 7, 2018

新版flexget 砍掉一堆aria2的參數,只剩下server跟port用得到而已

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