桌面端qb有rss下载功能,但是服务器端没有,另外Deluge
和transmission
也没有RSS
功能,今天试了下flexget
,确实很好用,目前网上分享的教程貌似对新版flexget
不适用,这里重新分享一下适合新版的使用教程。
安装flexget
# 安装很简单,主要是需要Python环境,个人推荐Anaconda进行环境管理,因为非常方便。
easy_install flexget
flexget -V
配置flexget
sudo mkdir -p ~/.flexget/rss
sudo nano ~/.flexget/config.yml
填入下面的内容:
1 2 3 4 5 |
tasks: lemonhd: rss: https://lemonxxx.xxx/torrentrss.php?rows=10&linktype=dl&passkey=dxxxxxxxxx accept_all: yes download: ~/.flexget/rss/ |
完成后,测试一下是否工作:
flexget --test execute
出现下面这个就代表工作了:
设置自动运行
which flexget
得到路径之后:
crontab -e
然后在最后面填入:
*/30 * * * * /home/ubuntu/anaconda3/bin/flexget 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 |
ubuntu@mcj:~/.flexget$ flexget execute 2021-01-22 10:21:35 VERBOSE manager Creating new database /home/ubuntu/.flexget/db-config.sqlite - DO NOT INTERRUPT ... 2021-01-22 10:21:41 VERBOSE task_queue There are 1 tasks to execute. Shutdown will commence when they have completed. 2021-01-22 10:21:42 VERBOSE details lemonhd Produced 10 entries. 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `Plus One 2019 1080p Blu-ray AVC DTS-HD MA 5.1-CHDBits` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `Spiral 2019 1080p Blu-ray AVC DTS-HD MA 5.1-BDA` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `The Early Works of Rainer Werner Fassbinder 1966-1969 1080p GBR Bluray AVC LPCM 1.0-NO GROUP` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `The Craft Legacy 2020 1080p BluRay DTS x264-LHD` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `The Craft Legacy 2020 BluRay REMUX 1080p AVC DTS-HD MA 5.1-LHD` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `THE MERCHANT OF FOUR SEASONS 1979 & BEWARE OF A HOLY WHORE 1972 1080p GBR Bluray AVC LPCM 1.0-NO GROUP` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `La Haine 1995 2160p UHD BluRay x265 10bit HDR DTS-HD MA 5.1-PTH` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `Follow Me 2020 2160p UHD BluRay x265 10bit HDR DTS-HD MA 5.1-PTH` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `THE MARRIAGE OF MARIA BRAUN 1979 1080p GBR Bluray AVC LPCM 1.0-NO GROUP` by accept_all plugin 2021-01-22 10:21:42 VERBOSE task lemonhd ACCEPTED: `FOX AND HIS FRIENDS 1975 & CHINESE ROULETTE 1976 1080p GBR Bluray AVC LPCM 1.0-NO GROUP` by accept_all plugin 2021-01-22 10:21:42 INFO download lemonhd Downloading: Plus One 2019 1080p Blu-ray AVC DTS-HD MA 5.1-CHDBits 2021-01-22 10:21:43 INFO download lemonhd Downloading: Spiral 2019 1080p Blu-ray AVC DTS-HD MA 5.1-BDA 2021-01-22 10:21:43 INFO download lemonhd Downloading: The Early Works of Rainer Werner Fassbinder 1966-1969 1080p GBR Bluray AVC LPCM 1.0-NO GROUP 2021-01-22 10:21:45 INFO download lemonhd Downloading: The Craft Legacy 2020 1080p BluRay DTS x264-LHD 2021-01-22 10:21:45 INFO download lemonhd Downloading: The Craft Legacy 2020 BluRay REMUX 1080p AVC DTS-HD MA 5.1-LHD 2021-01-22 10:21:46 INFO download lemonhd Downloading: THE MERCHANT OF FOUR SEASONS 1979 & BEWARE OF A HOLY WHORE 1972 1080p GBR Bluray AVC LPCM 1.0-NO GROUP 2021-01-22 10:21:47 INFO download lemonhd Downloading: La Haine 1995 2160p UHD BluRay x265 10bit HDR DTS-HD MA 5.1-PTH 2021-01-22 10:21:48 INFO download lemonhd Downloading: Follow Me 2020 2160p UHD BluRay x265 10bit HDR DTS-HD MA 5.1-PTH 2021-01-22 10:21:49 INFO download lemonhd Downloading: THE MARRIAGE OF MARIA BRAUN 1979 1080p GBR Bluray AVC LPCM 1.0-NO GROUP 2021-01-22 10:21:50 INFO download lemonhd Downloading: FOX AND HIS FRIENDS 1975 & CHINESE ROULETTE 1976 1080p GBR Bluray AVC LPCM 1.0-NO GROUP 2021-01-22 10:21:51 VERBOSE details lemonhd Summary - Accepted: 10 (Rejected: 0 Undecided: 0 Failed: 0) |
此时,再回到Deluge的Web UI,就可以看到添加好的任务了。
qbittorrent:
transmission:
其他应用
想使用flexget
下载免费种?
参考GitHub大神的项目,不过目前大佬好像不更新了,我只用它rss皇后的免费种,不过貌似有点问题,还好有另一位大佬解决了,提了PR,我在这里备份一下,防止以后自己忘记。如果有大佬还不会用flexge... 时间:2021/4/15 分类:PT相关 人气:7361 评论:13
想使用flexget
过滤指定大小的种子?
目前还差个自动删除已下载种子,等有空我把这个再加上,这样就完美了~~
已经补齐: