Juszoe / flexget-nexusphp

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

btschool失效 #78

Open hexoctal-sur opened 2 years ago

hexoctal-sur commented 2 years ago

昨天晚上突然发现服务器已经好久没有添加新种,因为此前也有类似的抽风现象就没管,今天查看remeber_rejected发现拒绝理由均为"None does not match discount",尝试自己适配之后还是不能下载

templates:
  freespace:
    free_space:
      path: /home/TrDownloads/
      space: 102400
  tr:
    transmission:
      path: /home/TrDownloads/
      host: localhost
      port: xxxx
      username: 'xxxxx'
      password: 'xxxxx'
      max_up_speed: 20480
  size:
    content_size:
      min: 0
      max: 51200
      strict: no

# 任务
tasks:
  btschool:
    rss: 
      url: xxx
      other_fields:
        - link
    template: tr
    content_size:
      min: 0
      max: 51200
      strict: no
    transmission:
      max_up_speed: 20480
    nexusphp:
      adapter:
        free: free
        2xfree: twoupfree
      cookie: 'xxx'
      discount:
        - free
        - 2xfree
      seeders:
        max: 10
      max_up_speed: 20480

web_server:
  port: xxxx
  web_ui: yes

schedules: yes
schedules:
  - tasks: [btschool]
    interval:
      minutes: 2

QQ截图20211115160231 QQ截图20211115160505

Juszoe commented 2 years ago
hexoctal-sur commented 2 years ago
  • 可以放上一段details.php的局部html代码,需要优惠信息附近的html(注意passkey不要泄露)
  • 或者更新一下cookie
<td id="outer" align="center" class="outer" style="padding-top: 20px; padding-bottom: 20px">
<div align="center" style="margin-bottom: 10px" id="ad_belownav"><a href="https://detail.tmall.com/item.htm?spm=a212k0.12153887.0.0.4d7c687d56IRKU&amp;id=655718159616"><img src="/adv/jkjnas.jpg"></a>
</div><h1 align="center" id="top">Everybody Loves Raymond S01 720p WEB-DL AAC2 0 H.264-BS&nbsp;&nbsp;&nbsp; <b>[<font class="free">免费</font>]</b></h1>
<table width="940" cellspacing="0" cellpadding="5">
<tbody><tr><td class="rowhead" width="13%">下载</td><td class="rowfollow" width="87%" align="left"><a class="index" href="download.php?id=61562">[BTSCHOOL].Everybody.Loves.Raymond.S01.720p.WEB-DL.AAC2.0.H.264-BS.torrent</a>&nbsp;&nbsp;<a id="bookmark0" href="javascript: bookmark(61562,0);"><img class="delbookmark" src="pic/trans.gif" alt="Unbookmarked" title="收藏"></a>&nbsp;&nbsp;&nbsp;由&nbsp;<span class="nowrap"><a href="userdetails.php?id=88119" class="PowerUser_Name"><b>plgtppt</b></a> (<b class="PowerUser_Name">Power User</b></span>)发布于<span title="2021-11-16 14:52:43">8时36分前</span></td></tr>
Yorag commented 2 years ago

测试使用vps请求details.php和本地请求返回的html不一样,本地请求返回的html是正常的,下面是vps请求返回的html

<html><body><script language="javascript" type="3977e073b39319dcaa10c180-text/javascript">window.location="/detai"   +"l"  +"s"+   ".php?i"+"d=6"+"1"   +  "8"  +"47&__SAK"+   "URA="  +"3d208d40"  +   "9677"+  "c78dcbae"+ "8f547"+ "47ba" + "b32b1637"+  "3965"+ "01"+   "_337048"   +"92";</script><script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="3977e073b39319dcaa10c180-|49" defer=""></script></body></html>

不知道怎么处理了

Juszoe commented 2 years ago

@Yorag 遇到cf盾了,可以参考 #66

tyhunter commented 2 years ago

同样遇到这个问题了,辛苦大佬更新下

philboycn commented 2 years ago

一样的,希望解决。现在是能解析种子信息,但是Remembering rejection了所有种子。

tyhunter commented 2 years ago

大佬 学校这个问题能帮忙修下吗