forked from madwind/flexget_qbittorrent_mod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_example.yml
866 lines (830 loc) · 25.2 KB
/
config_example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
web_server:
bind: 0.0.0.0
port: 3539
schedules:
- tasks: [ rss_download,limit_upload_by_tracker, manage_conn ]
interval:
minutes: 1
- tasks: [ resume, delete, clean ]
interval:
minutes: 2
- tasks: [ reseed ]
interval:
minutes: 5
- tasks: [ skyey2, opencd, refresh_tracker ]
interval:
minutes: 3
- tasks: [ sign_in, warner ]
schedule:
minute: 30
hour: 8-23
variables:
headers:
user_agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36'
via: &via_setting
- wecom:
corp_id: 'xxxxxxxx'
corp_secret: 'xxxxxxxx'
agent_id: 'xxxxxxxx'
to_user: 'xxxxxxxx'
# Telegram 配置参见 https://flexget.com/en/Plugins/Notifiers/telegram
- telegram:
bot_token: 'xxxxxxxx'
recipients:
# Chat ID 通过 @raw_data_bot (https://t.me/raw_data_bot) 获取
- chat_id: 1694213419
socks_proxy: socks5://user:pass@host:port
templates:
from_qbittorrent_template:
from_qbittorrent_mod: &qbittorrent_setting
host: qbittorrent.example.com
port: 443
use_ssl: yes
username: xxxxxxxx
password: xxxxxxxx
qbittorrent_base_template:
qbittorrent_mod: *qbittorrent_setting
qbittorrent_add_template:
modify_trackers:
- http2https:
from: http://
to: https://
qbittorrent_mod:
action:
add:
category: Rss
autoTMM: yes
tracker_options:
tag_by_tracker: yes
specific_trackers:
- keepfrds:
upLimit: 13107200
reject_on:
bandwidth_limit: 26214400
dl_speed: 0.7
dl_limit: 24117248
all: no
qbittorrent_resume_template:
qbittorrent_mod:
action:
resume:
recheck_torrents: yes
qbittorrent_pause_template:
qbittorrent_mod:
action:
pause: yes
qbittorrent_manage_conn_template:
qbittorrent_mod:
action:
manage_conn:
min: 100
max: 2000
qbittorrent_limit_upload_by_tracker_template:
qbittorrent_mod:
action:
limit_upload_by_tracker:
working: 0
not_working: 1
qbittorrent_refresh_tracker_template:
qbittorrent_mod:
action:
refresh_tracker: yes
qbittorrent_delete_keeper_template:
qbittorrent_mod:
action:
remove:
keeper:
check_reseed:
- chdbits
- totheglory
- open
- ourbits
- keepfrds
- skyey2
- dmhy
delete_files: yes
keep_disk_space: 10
dl_limit_on_succeeded: 0
alt_dl_limit_on_succeeded: 24117248
dl_limit_interval: 1800
qbittorrent_delete_cleaner_template:
qbittorrent_mod:
action:
remove:
cleaner:
delete_files: yes
qbittorrent_modify_template:
qbittorrent_mod:
action:
modify:
tag_by_tracker: yes
modify_trackers:
'^http://': 'https://'
show_entry_template:
show_entry:
state: accepted
attribute: yes
tasks:
pterclub:
rss:
url: https://pterclub.com/torrentrss.php?rows=10&cat413=1&tag_internal=yes&isize=1&linktype=dl&passkey=xxxxxxxx
all_entries: no
other_fields:
- link
no_entries_ok: yes
if:
- size > 1024 * 1024 and size < 20 * 1024 *1024: accept
notify:
entries:
message: "Title: {{title}}\nLink: {{link}}"
via: *via_setting
qbittorrent_mod:
action:
add:
category: PTer
reject_on:
dl_speed: no
dl_limit: no
template:
- qbittorrent_base_template
- qbittorrent_add_template
springsunday:
html_rss:
url: https://springsunday.net/torrents.php?incldead=0&spstate=4&pick=0&inclbookmarked=0&exclusive=0&search=&search_area=0&search_mode=0&sort=8&type=desc
user-agent: '{? headers.user_agent ?}'
cookie: 'xxxxxxxx'
params: '&passkey=xxxxxxxx'
root_element_selector: '.torrents > tbody > tr:not(:first-child)'
fields:
title:
element_selector: 'a[href*="details.php"]'
attribute: title
url:
element_selector: 'a[href*="download.php"]'
attribute: href
promotion:
element_selector: '.pro_free2up'
attribute: alt
seeders:
element_selector: 'td:nth-child(7)'
attribute: textContent
leechers:
element_selector: 'td:nth-child(8)'
attribute: textContent
no_entries_ok: yes
if:
- leechers|int > 10 and seeders|int >0 and seeders|int < 6 and promotion: accept
content_size:
strict: true
max: 307200
template:
- qbittorrent_base_template
- qbittorrent_add_template
#- show_entry_template
skyey2:
html_rss:
url: https://www.skyey2.com/forum.php?mod=torrents
user-agent: '{? headers.user_agent ?}'
cookie: 'xxxxxxxx'
params: '&passkey=xxxxxxxx'
root_element_selector: '#frame_torrents > table > tbody > tr:not(:first-child)'
fields:
title:
element_selector: 'a[title]'
attribute: title
url:
element_selector: 'a[href*="download.php"]'
attribute: href
promotion:
element_selector: 'img.sp_4'
attribute: class
no_entries_ok: yes
if:
- promotion: accept
content_size:
strict: true
max: 51200
template:
- qbittorrent_base_template
- qbittorrent_add_template
#- show_entry_template
opencd:
html_rss:
url: https://open.cd/torrents.php?seeders=4
user-agent: '{? headers.user_agent ?}'
cookie: 'xxxxxxxx'
params: '&passkey=xxxxxxxx'
root_element_selector: '#form_torrent > table > tbody > tr:not(:first-child)'
fields:
title:
element_selector: 'a[href*="details.php"]'
attribute: title
url:
element_selector: 'a[href*="download.php"]'
attribute: href
promotion:
element_selector: 'div[style="padding-bottom: 5px"] > img'
attribute: alt
no_entries_ok: yes
if:
- promotion in ['2X Free', 'Free']: accept
content_size:
strict: true
max: 307200
template:
- qbittorrent_base_template
- qbittorrent_add_template
dmhy:
html_rss:
url: https://u2.dmhy.org/torrents.php?sort=8&type=desc
user-agent: '{? headers.user_agent ?}'
cookie: 'xxxxxxxx'
params: '&passkey=xxxxxxxx'
root_element_selector: '#outer > table.main > tbody > tr > td > table > tbody > tr:not(:first-child)'
fields:
title:
element_selector: 'a[href*="details.php"]'
attribute: textContent
url:
element_selector: 'a[href*="download.php"]'
attribute: href
promotion:
element_selector: 'img[class*="pro"]'
attribute: alt
promotion_time:
element_selector: 'b > time'
attribute: title
upload_ratio:
element_selector: 'img[alt="上传比率"] + b'
attribute: textContent
download_ratio:
element_selector: 'img[alt="下载比率"] + b'
attribute: textContent
seeders:
element_selector: 'td:nth-child(6)'
attribute: textContent
leechers:
element_selector: 'td:nth-child(7) > b'
attribute: textContent
no_entries_ok: yes
limit_new: 2
if:
- upload_ratio == '2.33X' and download_ratio == '0.00X' and leechers|int > 5 and seeders|int >0 and seeders|int < 3: accept
- promotion in ['2X Free'] and leechers|int > 5 and seeders|int >0 and seeders|int < 3: accept
content_size:
strict: true
max: 307200
template:
- qbittorrent_base_template
- qbittorrent_add_template
#- show_entry_template
rss_download:
inputs:
- rss:
url: https://hdchina.org/torrentrss.php?rows=10&tea15=1&tea16=1&isize=1&linktype=dl&passkey=xxxxxxxx
all_entries: no
- rss:
url: https://ourbits.club/torrentrss.php?rows=10&tea1=1&isize=1&passkey=xxxxxxxx&https=1&linktype=dl
all_entries: no
- rss:
url: https://pt.keepfrds.com/torrentrss.php?rows=10&tea6=1&tea3=1&tea8=1&tea9=1&tea10=1&isize=1&linktype=dl&passkey=xxxxxxxx
all_entries: no
- rss:
url: https://chdbits.co/torrentrss.php?rows=10&tea14=1&tea13=1&tea1=1&isize=1&linktype=dl&passkey=xxxxxxxx
all_entries: no
no_entries_ok: yes
verify_ssl_certificates: no
accept_all: yes
limit_new: 2
content_size:
strict: true
max: 307200
template:
- qbittorrent_base_template
- qbittorrent_add_template
reseed:
priority: 1
iyuu_auto_reseed:
from:
from_qbittorrent_mod: *qbittorrent_setting
token: xxxxxxxx
user-agent: '{? headers.user_agent ?}'
show_detail: no
passkeys:
1ptba: 'xxxxxxxx'
52pt: 'xxxxxxxx'
beitai: 'xxxxxxxx'
brobits: 'xxxxxxxx'
btschool: 'xxxxxxxx'
ccfbits: 'xxxxxxxx'
chdbits: 'xxxxxxxx'
dicmusic:
authkey: 'xxxxxxxx'
torrent_pass: 'xxxxxxxx'
discfan: 'xxxxxxxx'
dmhy: 'xxxxxxxx'
dragonhd: 'xxxxxxxx'
eastgame: 'xxxxxxxx'
et8: 'xxxxxxxx'
greatposterwall:
authkey: 'xxxxxxxx'
torrent_pass: 'xxxxxxxx'
haidan: 'xxxxxxxx'
hd:
cookie: 'xxxxxxxx'
hd-torrents: 'xxxxxxxx'
hd4fans: 'xxxxxxxx'
hdarea: 'xxxxxxxx'
hdatmos: 'xxxxxxxx'
hdbd: 'xxxxxxxx'
hdchina:
cookie: 'xxxxxxxx'
hdcity:
cookie: 'xxxxxxxx'
hddisk: 'xxxxxxxx'
hddolby:
cookie: 'xxxxxxxx'
hdfans: 'xxxxxxxx'
hdhome:
cookie: 'xxxxxxxx'
hdpost:
rsskey: 'xxxxxxxx'
hdsky:
cookie: 'xxxxxxxx'
hdtime: 'xxxxxxxx'
hdupt: 'xxxxxxxx'
hdzone: 'xxxxxxxx'
hitpt: 'xxxxxxxx'
joyhd: 'xxxxxxxx'
keepfrds: 'xxxxxxxx'
lemonhd: 'xxxxxxxx'
msg: 'xxxxxxxx'
m-team:
key: 'xxxxxxxx'
nicept: 'xxxxxxxx'
nanyangpt: 'xxxxxxxx'
open: 'xxxxxxxx'
oshen: 'xxxxxxxx'
ourbits: 'xxxxxxxx'
pterclub: 'xxxxxxxx'
pthome:
cookie: 'xxxxxxxx'
ptsbao: 'xxxxxxxx'
pttime: 'xxxxxxxx'
skyey2: 'xxxxxxxx'
soulvoice: 'xxxxxxxx'
springsunday: 'xxxxxxxx'
sjtu: 'xxxxxxxx'
tjupt: 'xxxxxxxx'
totheglory: 'xxxxxxxx'
accept_all: yes
no_entries_ok: yes
seen:
local: yes
fields:
- torrent_info_hash
# notify:
# task:
# always_send: yes
# message: |+
# {%- if task.failed -%}
# {%- for group in task.failed|groupby('task') -%}
# The following torrent have failed for task {{ group.grouper }}:
# {%- for entry in group.list %}
# {{ loop.index }}: {{ entry.title }} Reason: {{entry.reason|d('unknown')}}
# {%- endfor -%}
# {%- endfor -%}
# {%- endif -%}
# via: *via_setting
qbittorrent_mod:
action:
add:
category: ''
tags: reseed
skip_checking: yes
reject_on:
dl_speed: no
dl_limit: no
all: no
template:
- qbittorrent_base_template
- qbittorrent_add_template
resume:
priority: 2
disable: [ seen, seen_info_hash, retry_failed, history ]
if:
- qbittorrent_state == 'pausedUP' and 'reseed' in qbittorrent_tags and qbittorrent_added_on > now - timedelta(hours=2): accept
template:
- from_qbittorrent_template
- qbittorrent_base_template
- qbittorrent_resume_template
delete:
priority: 3
disable: [ seen, seen_info_hash, retry_failed, history ]
if:
- qbittorrent_category in ['Rss'] and qbittorrent_last_activity < now - timedelta(minutes=10): accept
- "'reseed' not in qbittorrent_tags":
if:
- "'open' in qbittorrent_tags and (qbittorrent_seeding_time < 36*60*60 + 86400 or qbittorrent_num_complete < 5)": reject
- "'gazellegames' in qbittorrent_tags and qbittorrent_seeding_time < 80*60*60 + 86400": reject
- "'skyey2' in qbittorrent_tags and qbittorrent_seeding_time < 70*60*60 + 86400": reject
- "'tjupt' in qbittorrent_tags":
if:
- qbittorrent_seeding_time < 24*60*60 +86400: reject
- qbittorrent_size >= 10*1024*1024*1024 and qbittorrent_seeding_time < 48*60*60 +86400: reject
- qbittorrent_size >= 20*1024*1024*1024 and qbittorrent_seeding_time < 72*60*60 +86400: reject
- qbittorrent_size >= 30*1024*1024*1024 and qbittorrent_seeding_time < 96*60*60 +86400: reject
- qbittorrent_size >= 40*1024*1024*1024 and qbittorrent_seeding_time < 120*60*60 +86400: reject
- qbittorrent_size >= 50*1024*1024*1024 and qbittorrent_seeding_time < 168*60*60 +86400: reject
- "'chdbits' in qbittorrent_tags":
if:
- qbittorrent_seeding_time < 3*24*60*60 + 86400: reject
- qbittorrent_size > 30*1024*1024*1024 and qbittorrent_seeding_time < 5*24*60*60 + 86400: reject
sort_by: qbittorrent_reseed_last_activity
template:
- from_qbittorrent_template
- qbittorrent_base_template
- qbittorrent_delete_keeper_template
modify:
priority: 4
disable: [ seen, seen_info_hash, retry_failed, history ]
accept_all: yes
template:
- from_qbittorrent_template
- qbittorrent_base_template
- qbittorrent_modify_template
clean:
priority: 5
disable: [ seen, seen_info_hash, retry_failed, history ]
if:
- "'reseed' in qbittorrent_tags and not qbittorrent_completed == qbittorrent_total_size and 'checking' not in qbittorrent_state": accept
regexp:
accept:
- '[Tt]orrent not registered with this tracker'
- '[Bb]anned'
- 'deleted'
- 'Unregistered torrent'
- '006-种子尚未上传或者已经被删除'
- 'Torrent is not authorized for use on this tracker\.'
- '此种子没有在 ptsbao\.club 注册'
#dmhy
- 该种子已被禁止。
from: qbittorrent_tracker_msg
template:
- from_qbittorrent_template
- qbittorrent_base_template
- qbittorrent_delete_cleaner_template
manage_conn:
disable: [ seen, seen_info_hash, retry_failed, history ]
from_qbittorrent_mod:
server_state: yes
accept_all: yes
if:
- 'server_state["queued_io_jobs"] < 20':
set:
step: 50
- 'server_state["queued_io_jobs"] > 80':
set:
step: -100
template:
- from_qbittorrent_template
- qbittorrent_base_template
- qbittorrent_manage_conn_template
limit_upload_by_tracker:
disable: [ seen, seen_info_hash, retry_failed, history ]
if:
- "'paused' not in qbittorrent_state and qbittorrent_added_on < now - timedelta(minutes=5)": accept
- "'keepfrds' in qbittorrent_tags":
set:
working: 13107200
from_qbittorrent_mod:
force_update: uploading
template:
- from_qbittorrent_template
- qbittorrent_base_template
- qbittorrent_limit_upload_by_tracker_template
refresh_tracker:
disable: [ seen, seen_info_hash, retry_failed, history ]
if:
- qbittorrent_up_limit == 1:
regexp:
accept:
- 'skipping tracker announce \(unreachable\)'
- 'unsupported URL protocol'
from: qbittorrent_tracker_msg
template:
- from_qbittorrent_template
- qbittorrent_base_template
- qbittorrent_refresh_tracker_template
sign_in:
auto_sign_in:
user-agent: '{? headers.user_agent ?}'
max_workers: 1
aipocr:
app_id: 'xxxxxxxx'
api_key: 'xxxxxxxx'
secret_key: 'xxxxxxxx'
sites:
qbittorrent:
- name: qbittorrent
host: qbittorrent.example.com
port: 443
use_ssl: yes
username: xxxxxxxx
password: xxxxxxxx
- name: qbittorrent2
host: qbittorrent2.example.com
port: 443
use_ssl: yes
username: xxxxxxxx
password: xxxxxxxx
# 站名: cookie
1ptba: 'xxxxxxxx'
3wmg: 'xxxxxxxx'
52pt: 'xxxxxxxx'
# 部分站点 cookie 过期太快,使用模拟登陆
abn:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
abtorrents:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
avgv: 'xxxxxxxx'
avistaz: 'xxxxxxxx'
beitai: 'xxxxxxxx'
bitbr: 'xxxxxxxx'
bitsexy: 'xxxxxxxx'
bootytape:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
btschool: 'xxxxxxxx'
carpt: 'xxxxxxxx'
cathode-ray:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
ccfbits: 'xxxxxxxx'
chdbits: 'xxxxxxxx'
cinemaz: 'xxxxxxxx'
# 即使同时使用了 cookie 和 login,程序也只会使用 cookie。如果担心 cookie 失效则应只使用 login,不使用 cookie
dicmusic:
cookie: 'xxxxxxxx'
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
digitalcore: 'xxxxxxxx'
discfan: 'xxxxxxxx'
dmhy:
cookie: 'xxxxxxxx'
username: 'xxxxxxxx'
# 留言至少5个字符
comment: 'xxxxxxxx'
ocr_config:
# 重试次数
retry: 20
# 最低识别字符数
char_count: 3
# 最低匹配分数
score: 40
dragonhd: 'xxxxxxxx'
eastgame: 'xxxxxxxx'
et8: 'xxxxxxxx'
exoticaz: 'xxxxxxxx'
femdomcult:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
filelist:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
gay-torrents_net:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
gay-torrents_org: 'xxxxxxxx'
gaytor:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
gazellegames:
cookie: 'xxxxxxxx'
key: 'xxxxxxxx'
name: 'xxxxxxxx'
greatposterwall: 'xxxxxxxx'
haidan: 'xxxxxxxx'
happyfappy:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
hares: 'xxxxxxxx'
hd: 'xxxxxxxx'
hd-space: 'xxxxxxxx'
hd-torrents: 'xxxxxxxx'
hd4fans: 'xxxxxxxx'
hdarea: 'xxxxxxxx'
hdatmos: 'xxxxxxxx'
hdbd: 'xxxxxxxx'
hdchina: 'xxxxxxxx'
hdcity: 'xxxxxxxx'
hddolby: 'xxxxxxxx'
hdfans: 'xxxxxxxx'
hdhome: 'xxxxxxxx'
hdmayi: 'xxxxxxxx'
hdpost:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
hdsky:
cookie: 'xxxxxxxx'
join_date: 'yyyy-MM-dd'
hdtime: 'xxxxxxxx'
hdupt: 'xxxxxxxx'
hdzone: 'xxxxxxxx'
hitpt: 'xxxxxxxx'
htpt: 'xxxxxxxx'
iptorrents: 'xxxxxxxx'
joyhd: 'xxxxxxxx'
jpopsuki:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
jptv: 'xxxxxxxx'
keepfrds: 'xxxxxxxx'
kufirc:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
lemonhd: 'xxxxxxxx'
m-team:
key: 'xxxxxxxx'
milkie:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
msg: 'xxxxxxxx'
nanyangpt: 'xxxxxxxx'
napqaq: 'xxxxxxxx'
nicept: 'xxxxxxxx'
ninjacentral:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
open: 'xxxxxxxx'
oshen: 'xxxxxxxx'
# 即使同时使用了 cookie 和 login,程序也只会使用 cookie。如果担心 cookie 失效则应只使用 login,不使用 cookie
ourbits:
cookie: 'xxxxxxxx'
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
ptchina: 'xxxxxxxx'
pterclub: 'xxxxxxxx'
pthome: 'xxxxxxxx'
pttime: 'xxxxxxxx'
ptsbao: 'xxxxxxxx'
pussytorrents:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
scenetime: 'xxxxxxxx'
skyey2:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
soulvoice: 'xxxxxxxx'
speedapp:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
springsunday: 'xxxxxxxx'
sjtu: 'xxxxxxxx'
theaudioscene: 'xxxxxxxx'
tjupt: 'xxxxxxxx'
torrentdb:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
torrentleech: 'xxxxxxxx'
torrentseeds:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
ultrahd: 'xxxxxxxx'
xtremewrestlingtorrents:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
xwt-classics:
login:
username: 'xxxxxxxx'
password: 'xxxxxxxx'
accept_all: yes
seen:
fields:
- title
notify:
task:
always_send: yes
message: |+
{%- if task.accepted -%}
{%- for group in task.accepted|groupby('task') -%}
FlexGet has just signed in {{ group.list|length }} sites for task {{ group.grouper }}:
{%- for entry in group.list %}
{{ loop.index }}: {{ entry.title }} {{ entry.result }}
{%- endfor -%}
{%- endfor -%}
{%- endif -%}
{%- if task.failed %}
{% for group in task.failed|groupby('task') %}
The following sites have failed for task {{ group.grouper }}:
{%- for entry in group.list %}
{{ loop.index }}: {{ entry.title }} {{ entry.result }} Reason: {{entry.reason|d('unknown')}}
{%- endfor -%}
{%- endfor -%}
{%- endif -%}
{%- for group in task.entries|groupby('task') %}
{% for entry in group.list %}
{%- if entry.messages|d('') %}
Messages:
{{ entry.title }} {{ entry.messages }}
{% endif %}
{%- endfor -%}
{%- endfor -%}
# 填写要使用的推送渠道,删去不需要的
via:
- wecom:
corp_id: 'xxxxxxxx'
corp_secret: 'xxxxxxxx'
agent_id: 'xxxxxxxx'
to_user: 'xxxxxxxx'
image: 'details_report.png'
# Telegram 配置参见 https://flexget.com/en/Plugins/Notifiers/telegram
- telegram:
bot_token: 'xxxxxxxx'
images:
- 'details_report.png'
recipients:
# Chat ID 通过 @raw_data_bot (https://t.me/raw_data_bot) 获取
- chat_id: 1694213419
socks_proxy: socks5://user:pass@host:port
warner:
disable: [ seen, seen_info_hash, retry_failed, history ]
from_qbittorrent_mod:
server_state: yes
if:
- 'not server_state["flexget_connected"]': accept
- 'server_state["dl_info_speed"] < 1048576': accept
- 'server_state["up_info_speed"] < 1048576': accept
- 'server_state["free_space_on_disk"] < 5368709120': accept
template:
- from_qbittorrent_template
notify:
entries:
message: |+
{{ time }}
qBittorrent Server State:
{% if not server_state['flexget_connected'] -%}
flexget_connected: False
{%- else -%}
dl_info_speed: {{ (server_state['dl_info_speed']/1024**2)|round(2) }} MiB
up_info_speed: {{ (server_state['up_info_speed']/1024**2)|round(2) }} MiB
free_space_on_disk: {{ (server_state['free_space_on_disk']/1024**3)|round(3) }} GiB
queued_io_jobs: {{server_state['queued_io_jobs']}}
total_peer_connections: {{server_state['total_peer_connections']}}
{% endif %}
via: *via_setting
transfer:
disable: [ seen, seen_info_hash, retry_failed, history ]
from_qbittorrent_mod:
host: 192.168.100.240
port: 3333
use_ssl: no
username: xxxxxxxx
password: xxxxxxxxxxxxxxxx
regexp:
accept:
- HDT:
set:
url: 'file:/BT_backup/{{torrent_info_hash}}.torrent'
category: '{{qbittorrent_category}}'
from: qbittorrent_category
qbittorrent_mod:
host: qbittorrent2.example.com
port: 443
use_ssl: yes
username: xxxxxxxx
password: xxxxxxxx
action:
add:
skip_checking: yes
reject_on:
dl_speed: no
dl_limit: no
show_entry:
state: accepted
attribute:
- url