之前分享过如何使用flexget
配合PT软件进行自动下载的方法,详见:
今天来说一下如何使用flexget
自动下载指定大小的种子。
下面是配置文件:
1 2 3 4 5 6 7 8 |
tasks: hdsky: rss: https://xxxx content_size: #启用大小过滤 min: 10240 # 文件小于 2048M 就不下载 max: 999900 # 文件大于 9999M 就不下载 strict: no #不要动 download: /Users/mcj/Downloads/CCC不备份/flexget/hdsky |
上面的代码很明白了,需要注意的是,配置文件写好之后,我们进行flexget --test execute
的时候,是看不到哪些被过滤掉的,只有在真正运行的时候才可以看到,即flexget execute
运行之后,可以看到:
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 |
mcj@mcjdeiMac:~$ flexget execute 2021-04-11 20:51:12 VERBOSE task_queue There are 1 tasks to execute. Shutdown will commence when they have completed. 2021-04-11 20:51:13 VERBOSE details hdsky Produced 10 entries. 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `Dong Si Pai Lou Dong 2020 WEB-DL 1080p H264 AAC-HDSWEB[1.36 GB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[803.39 MB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `CCTV15 Global Chinese Music 20210410 HDTV 1080i H264-HDSTV[5.30 GB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `CCTV5+ China Basketball Association 20210410 HDTV 1080i H264-HDSTV[6.42 GB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `JSTV You Are The One 20210410 HDTV 1080i H264-HDSTV[5.24 GB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `CCTV3 Jin Pai Xi Ju Ban 20210410 HDTV 1080i H264-HDSTV[4.90 GB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[600.71 MB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `Ready or Knot 2021 WEB-DL 1080p H264 DD5.1 2Audio-HDSWEB[1.60 GB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `Older Sisters Who Brave The Winds And Waves S02 2021 WEB-DL 1080p H264 AAC-HDSWEB[3.72 GB]` by accept_all plugin 2021-04-11 20:51:13 VERBOSE task hdsky ACCEPTED: `One Boat One World 2021 WEB-DL 1080p H264 AAC-HDSWEB[11.23 GB]` by accept_all plugin 2021-04-11 20:51:13 INFO download hdsky Downloading: Dong Si Pai Lou Dong 2020 WEB-DL 1080p H264 AAC-HDSWEB[1.36 GB] 2021-04-11 20:51:14 INFO download hdsky Downloading: Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[803.39 MB] 2021-04-11 20:51:14 INFO download hdsky Downloading: CCTV15 Global Chinese Music 20210410 HDTV 1080i H264-HDSTV[5.30 GB] 2021-04-11 20:51:14 INFO download hdsky Downloading: CCTV5+ China Basketball Association 20210410 HDTV 1080i H264-HDSTV[6.42 GB] 2021-04-11 20:51:15 INFO download hdsky Downloading: JSTV You Are The One 20210410 HDTV 1080i H264-HDSTV[5.24 GB] 2021-04-11 20:51:15 INFO download hdsky Downloading: CCTV3 Jin Pai Xi Ju Ban 20210410 HDTV 1080i H264-HDSTV[4.90 GB] 2021-04-11 20:51:16 INFO download hdsky Downloading: Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[600.71 MB] 2021-04-11 20:51:16 INFO download hdsky Downloading: Ready or Knot 2021 WEB-DL 1080p H264 DD5.1 2Audio-HDSWEB[1.60 GB] 2021-04-11 20:51:16 INFO download hdsky Downloading: Older Sisters Who Brave The Winds And Waves S02 2021 WEB-DL 1080p H264 AAC-HDSWEB[3.72 GB] 2021-04-11 20:51:17 INFO download hdsky Downloading: One Boat One World 2021 WEB-DL 1080p H264 AAC-HDSWEB[11.23 GB] 2021-04-11 20:51:18 VERBOSE details hdsky Summary - Accepted: 10 (Rejected: 0 Undecided: 0 Failed: 0) 2021-04-11 20:51:18 VERBOSE content_size hdsky Entry `Dong Si Pai Lou Dong 2020 WEB-DL 1080p H264 AAC-HDSWEB[1.36 GB]` too small, rejecting 2021-04-11 20:51:18 INFO remember_rej hdsky Remembering rejection of `Dong Si Pai Lou Dong 2020 WEB-DL 1080p H264 AAC-HDSWEB[1.36 GB]` 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Dong Si Pai Lou Dong 2020 WEB-DL 1080p H264 AAC-HDSWEB[1.36 GB]` by content_size plugin because minimum size 2048 MB, got 1388.9879312515259 MB 2021-04-11 20:51:18 VERBOSE content_size hdsky Entry `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[803.39 MB]` too small, rejecting 2021-04-11 20:51:18 INFO remember_rej hdsky Remembering rejection of `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[803.39 MB]` 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[803.39 MB]` by content_size plugin because minimum size 2048 MB, got 803.3910713195801 MB 2021-04-11 20:51:18 VERBOSE content_size hdsky Entry `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[600.71 MB]` too small, rejecting 2021-04-11 20:51:18 INFO remember_rej hdsky Remembering rejection of `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[600.71 MB]` 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[600.71 MB]` by content_size plugin because minimum size 2048 MB, got 600.7088537216187 MB 2021-04-11 20:51:18 VERBOSE content_size hdsky Entry `Ready or Knot 2021 WEB-DL 1080p H264 DD5.1 2Audio-HDSWEB[1.60 GB]` too small, rejecting 2021-04-11 20:51:18 INFO remember_rej hdsky Remembering rejection of `Ready or Knot 2021 WEB-DL 1080p H264 DD5.1 2Audio-HDSWEB[1.60 GB]` 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Ready or Knot 2021 WEB-DL 1080p H264 DD5.1 2Audio-HDSWEB[1.60 GB]` by content_size plugin because minimum size 2048 MB, got 1642.7343301773071 MB 2021-04-11 20:51:18 INFO content_size hdsky Entry `One Boat One World 2021 WEB-DL 1080p H264 AAC-HDSWEB[11.23 GB]` too big, rejecting 2021-04-11 20:51:18 INFO remember_rej hdsky Remembering rejection of `One Boat One World 2021 WEB-DL 1080p H264 AAC-HDSWEB[11.23 GB]` 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `One Boat One World 2021 WEB-DL 1080p H264 AAC-HDSWEB[11.23 GB]` by content_size plugin because maximum size 9999 MB, got 11498.909197807312 MB 2021-04-11 20:51:18 INFO task hdsky Plugin content_size has requested task to be ran again after execution has completed. 2021-04-11 20:51:18 INFO task hdsky Rerunning the task in case better resolution can be achieved. 2021-04-11 20:51:18 VERBOSE input_cache hdsky Restored entries from cache 2021-04-11 20:51:18 VERBOSE details hdsky Produced 10 entries. 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Dong Si Pai Lou Dong 2020 WEB-DL 1080p H264 AAC-HDSWEB[1.36 GB]` by remember_rejected plugin because rejected on behalf of content_size plugin: minimum size 2048 MB, got 1388.9879312515259 MB 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[803.39 MB]` by remember_rejected plugin because rejected on behalf of content_size plugin: minimum size 2048 MB, got 803.3910713195801 MB 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Level-1 2021 WEB-DL 1080p H264 AAC-HDSWEB[600.71 MB]` by remember_rejected plugin because rejected on behalf of content_size plugin: minimum size 2048 MB, got 600.7088537216187 MB 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Ready or Knot 2021 WEB-DL 1080p H264 DD5.1 2Audio-HDSWEB[1.60 GB]` by remember_rejected plugin because rejected on behalf of content_size plugin: minimum size 2048 MB, got 1642.7343301773071 MB 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `One Boat One World 2021 WEB-DL 1080p H264 AAC-HDSWEB[11.23 GB]` by remember_rejected plugin because rejected on behalf of content_size plugin: maximum size 9999 MB, got 11498.909197807312 MB 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `CCTV15 Global Chinese Music 20210410 HDTV 1080i H264-HDSTV[5.30 GB]` by seen plugin because entry with title `CCTV15 Global Chinese Music 20210410 HDTV 1080i H264-HDSTV[5.30 GB]` is already marked seen in the task hdsky at 2021-04-11 20:51 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `CCTV5+ China Basketball Association 20210410 HDTV 1080i H264-HDSTV[6.42 GB]` by seen plugin because entry with title `CCTV5+ China Basketball Association 20210410 HDTV 1080i H264-HDSTV[6.42 GB]` is already marked seen in the task hdsky at 2021-04-11 20:51 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `JSTV You Are The One 20210410 HDTV 1080i H264-HDSTV[5.24 GB]` by seen plugin because entry with title `JSTV You Are The One 20210410 HDTV 1080i H264-HDSTV[5.24 GB]` is already marked seen in the task hdsky at 2021-04-11 20:51 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `CCTV3 Jin Pai Xi Ju Ban 20210410 HDTV 1080i H264-HDSTV[4.90 GB]` by seen plugin because entry with title `CCTV3 Jin Pai Xi Ju Ban 20210410 HDTV 1080i H264-HDSTV[4.90 GB]` is already marked seen in the task hdsky at 2021-04-11 20:51 2021-04-11 20:51:18 VERBOSE task hdsky REJECTED: `Older Sisters Who Brave The Winds And Waves S02 2021 WEB-DL 1080p H264 AAC-HDSWEB[3.72 GB]` by seen plugin because entry with title `Older Sisters Who Brave The Winds And Waves S02 2021 WEB-DL 1080p H264 AAC-HDSWEB[3.72 GB]` is already marked seen in the task hdsky at 2021-04-11 20:51 2021-04-11 20:51:18 VERBOSE details hdsky Summary - Accepted: 0 (Rejected: 10 Undecided: 0 Failed: 0) |
可以看到,在我们指定大小之外的种子已经被过滤掉了。
查看更多flexget
配置见:
想使用flexget下载免费种?
使用flexget过滤免费种
参考GitHub大神的项目,不过目前大佬好像不更新了,我只用它rss皇后的免费种,不过貌似有点问题,还好有另一位大佬解决了,提了PR,我在这里备份一下,防止以后自己忘记。如果有大佬还不会用flexge...
时间:2021/4/15 分类:PT相关 人气:7733 评论:13
本文最后更新于2021年4月15日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!
加油
@马圣涵 你放假啦?