Juszoe / flexget-nexusphp

A flexget plugin for filter nexusphp torrents
GNU General Public License v3.0
516 stars 115 forks source link

Task doesn't have any output plugins, you should add (at least) one! #59

Open YadongM opened 3 years ago

YadongM commented 3 years ago

config.yml:

web_server:
  bind: 0.0.0.0
  port: 3539

schedules:
  - tasks: [ pth ]
    interval:
      minutes: 10

templates:
  qb:
    qbittorrent:
      host: *.*.*.*
      port: 8080
      username: ***
      password: ***

  freespace:
    free_space:
      path: /home/
      space: 10240

  size:
    content_size:
      min: 6000
      max: 600000
      strict: no

tasks:
pth:
  rss:
    url: https://pthome.net/torrentrss.php?rows=10&exp=90&passkey=*********
    other_fields:
      - link
  nexusphp:
    cookie: '*********'
    discount:
      - free
      - 2xfree
    seeders:
      min: 0
      max: 10
    leechers:
      min: 0
      max: 200
      max_complete: 0.8
    left-time: 23 hours
    hr: no
    adapter: 
      free: free
      2x: twoup
      2xfree: twoupfree
      30%: thirtypercent
      50%: halfdown
      2x50%: twouphalfdown
    comment: no
    user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
    remember: yes
    qbittorrent:
      host: *.*.*.*
      port: 8080
      username: ***
      password: ***
      path: ~/flexget/torrents/

flexget.log:

2021-02-28 15:18:17 INFO     manager                       Test mode, creating a copy from database ...
2021-02-28 15:18:23 VERBOSE  manager                       Creating new database /root/.flexget/test-config.sqlite - DO NOT INTERRUPT ...
2021-02-28 15:19:10 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2021-02-28 15:19:12 VERBOSE  details       pth             Produced 10 entries.
2021-02-28 15:19:14 VERBOSE  task                          ACCEPTED: `Jade 無可比擬的演藝泰斗 永遠懷念 吳孟達 HDTV 1080i H264 DD5.1-PTHtv` by nexusphp plugin
2021-02-28 15:19:15 VERBOSE  task                          ACCEPTED: `Dead Man 1995 1080p BluRay x265 10bit DTS-PTH` by nexusphp plugin
2021-02-28 15:19:15 VERBOSE  task                          ACCEPTED: `Dead Man 1995 1080p BluRay x264 DTS-PTH` by nexusphp plugin
2021-02-28 15:19:15 VERBOSE  task                          ACCEPTED: `Sex Explained NF WEB-DL 1080p x264 DDP5.1-PTHweb` by nexusphp plugin
2021-02-28 15:19:16 VERBOSE  task                          ACCEPTED: `Street Food Asia S01 NF WEB-DL 1080p x264 DDP5.1 Atmos-PTHweb` by nexusphp plugin
2021-02-28 15:19:17 VERBOSE  task                          ACCEPTED: `Street Food Latin America S01 NF WEB-DL 1080p x264 DDP5.1 Atmos-PTHweb` by nexusphp plugin
2021-02-28 15:19:17 VERBOSE  task                          ACCEPTED: `Dead Man 1995 1080p BluRay Remux AVC DTS-HD MA 2.0-PTH` by nexusphp plugin
2021-02-28 15:19:17 INFO     remember_rej                  Remembering rejection of `Nuevo Orden 2020 1080p WEB-DL x264`
2021-02-28 15:19:17 VERBOSE  task                          REJECTED: `Nuevo Orden 2020 1080p WEB-DL x264` by nexusphp plugin because 50% does not match discount
2021-02-28 15:19:18 VERBOSE  task                          ACCEPTED: `The Other Man 2008 1080p Blu-ray AVC DTS-HD MA 5.1-Flynn@PTHome` by nexusphp plugin
2021-02-28 15:19:18 VERBOSE  task                          ACCEPTED: `The Casketeers S01 NF WEB-DL 1080p x264 AAC-PTHweb` by nexusphp plugin
2021-02-28 15:19:18 VERBOSE  details       pth             Summary - Accepted: 9 (Rejected: 1 Undecided: 0 Failed: 0)
2021-02-28 15:19:18 WARNING  task          pth             Task doesn't have any output plugins, you should add (at least) one!
2021-02-28 15:19:20 INFO     manager                       Removed test database

ubuntu 18.04 Python 3.8.5

13229896070 commented 3 years ago

配置错误。。。而且还有点多 下面这个是我自用的,你先套用,再慢慢加吧,慢慢变,每次成功之后,就备份一次,失败了,再从成功的版本改

templates:      # 剩余空间模板,当 path 对应的路径的剩余空间小于 space 规定的数值的时候停止 RSS 下载
  standard:
    free_space:
      path: /10/de/down/
      space: 1024
    seen:
      fields:
        - url
  qb:
    qbittorrent:
      path: /10/de/down/
      host: localhost
      port: 2017
      username: ******
      password: ******
tasks:
  u2-free:
    rss: 
      url:  https://u2.dmhy.org/torrentrss.php?rows=10&isize=1&trackerssl=1&passkey=f0******a7&linktype=dl
      other_fields:
        - link
    template: qb # 调用上边的 qb 模板
    qbittorrent: # 对这个任务加载到 qb 的种子,自动添加 u2 的标签
      label: u2-free
      maxupspeed: 50000     #  单种最大上传速度 500MB/s
    nexusphp:
      cookie: 'nexusphp_u2=f**************' 
      discount:  # 优惠信息 选填
        - free
        - 2xfree
      seeders:  # 做种情况 选填
        min: 0
        max: 4
      leechers:  # 下载情况 选填
        min: 5
        max: 99999
        max_complete: 0.5
      left-time: 10 hours  # 优惠剩余时间 选填
      remember: no  # 记住优惠信息 选填 请勿随意设置
    download: /10/de/down/  #   种子下载路径
    content_size: # 可以不使用模板的体积过滤,针对每个任务单独设置体积过滤 (单位mb)
      # min: 0
      max: 100000
      strict: no

  hdsky-official-free:
    rss: 
      url:  https://hdsky.me/torrentrss.php?rows=******8c4
      other_fields:
        - link
    template: qb # 调用上边的 qb 模板
    qbittorrent: # 对这个任务加载到 qb 的种子,自动添加 u2 的标签
      label: hdsky-official-free
      maxupspeed: 10000     #  单种最大上传速度 500MB/s
    nexusphp:
      cookie: 'c_secure_uid=OTM0NTQ%3D; c_secure_pass=******26094'  
      discount:  # 优惠信息 选填
        - free
        - 2xfree
      seeders:  # 做种情况 选填
        min: 0
        max: 4
      leechers:  # 下载情况 选填
        min: 5
        max: 99999
        max_complete: 0.5
      left-time: 5 hours  # 优惠剩余时间 选填
      remember: yes  # 记住优惠信息 选填 请勿随意设置
    download: /10/de/down/  #   种子下载路径
    content_size: # 可以不使用模板的体积过滤,针对每个任务单独设置体积过滤 (单位mb)
      # min: 0
      max: 50000
      strict: no
web_server:
  port: 6566             #这是flexget的端口,一般不用改
  web_ui: yes

下面这里缩进错误

tasks:
  pth:
    rss:
YadongM commented 3 years ago

十分感谢大佬!! 现在不用担心缩进问题了