Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHD 新增了HR规则,目前的HR规则还无法兼容CHD,望更新,谢谢 #65

Closed
z4jst opened this issue Jun 14, 2021 · 3 comments

Comments

@z4jst
Copy link

z4jst commented Jun 14, 2021

HR标记附近代码(详情页),有HR的种子ID:134937
<tr><td class="rowhead nowrap" valign="top" align="right">基本信息</td><td class="rowfollow" valign="top" align="left"><b><b>大小:</b></b>11.39 GB&nbsp;&nbsp;&nbsp;<b>类型:</b>&nbsp;Movies&nbsp;&nbsp;&nbsp;<b>媒介:&nbsp;</b>Encode&nbsp;&nbsp;&nbsp;<b>编码:&nbsp;</b>H.264/AVC&nbsp;&nbsp;&nbsp;<b>音频编码:&nbsp;</b>DTS-HD&nbsp;&nbsp;&nbsp;<b>分辨率:&nbsp;</b>1080p&nbsp;&nbsp;&nbsp;<b>制作组:&nbsp;</b>压制组&nbsp;&nbsp;&nbsp;<b>H&R:&nbsp;</b>3</td></tr>
无HR特殊GIF,无特殊字符,单纯使用H&R匹配会抓取到个人信息中的HR。
个人信息中的HR代码如下:
<td class="bottom" align="left"><span class="medium">欢迎回来, <span class="nowrap"><a href="userdetails.php?id=***" class='CrazyUser_Name'><b>****</b></a></span> [<a href="logout.php">退出</a>] [<a href="getrss.php">RSS下载</a>] [<a href="torrents.php?inclbookmarked=1&amp;allsec=1&amp;incldead=0">收藏</a>] <font class="color_bonus">魔力值 </font>[<a href="mybonus.php">使用</a>]: **** <font class="color_invite">邀请 </font>[<a href="invite.php?id=****">发送</a>]: 0 <a href='hnr.php?id=****'><font class="color_bonus">H&R:</font></a>1<br />

@ma3252788
Copy link

同求

@z4jst z4jst closed this as completed Jun 28, 2021
@Juszoe
Copy link
Owner

Juszoe commented Jul 2, 2021

@z4jst @ma3252788 麻烦测试一下是否适配CHD的HR规则
nexusphp-issue-65.zip

@Juszoe Juszoe reopened this Jul 2, 2021
@z4jst
Copy link
Author

z4jst commented Jul 2, 2021

谢谢,您的代码是可以的
代码反馈:

2021-07-02 14:08:39 VERBOSE  details       chd             Produced 6 entries.
2021-07-02 14:08:40 INFO     remember_rej                  Remembering rejection of `I Care a Lot 2020 1080p ESP Blu-ray AVC DTS-HD MA 5.1-ltzww@CHDBits`
2021-07-02 14:08:40 VERBOSE  task                          REJECTED: `I Care a Lot 2020 1080p ESP Blu-ray AVC DTS-HD MA 5.1-ltzww@CHDBits` by nexusphp plugin because it is HR

顺便附上我自己改的临时的解决方案:
在line:203行
for item in ['hitandrun', 'hit_run.gif', 'Hit and Run', 'Hit & Run', 'H&R:&nbsp']:
增加hr匹配字段「H&R:&nbsp」,这个也可以。

@Juszoe Juszoe closed this as completed in c0b0976 Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants