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

hdchina 匹配失误,不免费的也下载了 #72

Open
pengkaiwei opened this issue Oct 14, 2021 · 9 comments
Open

hdchina 匹配失误,不免费的也下载了 #72

pengkaiwei opened this issue Oct 14, 2021 · 9 comments

Comments

@pengkaiwei
Copy link

@chinatengjie 确实cookie失效会HDC误判,稍后会修复
@pengkaiwei 我的配置就只是这样,检查一下cookie

tasks:
  hdc:
    rss:
      url: https://hdchina.org/torrentrss.php?rows=10&linktype=dl&passkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      other_fields:
        - link
    nexusphp:
      cookie: 'hdchina=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx; PHPSESSID=xxxxxxxxxxxxxxxxxx'
      discount:
        - free
        - 2xfree

Originally posted by @Juszoe in #71 (comment)

@pengkaiwei
Copy link
Author

昨天 晚上问题又复现了

@pengkaiwei
Copy link
Author

#71 (comment)

@predest

@chinatengjie
Copy link

hdc我的 没问题 我看了 我的 都是free

另外 cookie 过期 会下非免费种 opencd也有这个问题,是不是内置集成规则 所有站点都这样? ob貌似过期过滤HR貌似也会失效,OB具体没测试,反正知道cookie失效会出问题,。

@icetelec
Copy link

有同样的问题,下载非免费种,试了各种调整,但是没有解决。应该不是单纯的cookie失效问题,用最新的cookie也会下非免费种。

@Juszoe
Copy link
Owner

Juszoe commented Oct 15, 2021

也许HDC最近新增了什么策略,cookie过期后仍然能够请求接口,但是会直接返回free,这也是会误判的原因。
以下是我的猜测:频繁请求接口被判机器人导致cookie失效,浏览网页重新生效。
我研究一下有什么解决方案吧,总之站点不支持的话慎用插件。

@Juszoe
Copy link
Owner

Juszoe commented Oct 15, 2021

发现HDC每个页面有个隐式验证码,大概就是这个问题。
模拟这个验证码难度较大,且强行绕过站点反机器人策略不妥。

@coswell
Copy link

coswell commented Oct 15, 2021

发现HDC每个页面有个隐式验证码,大概就是这个问题。 模拟这个验证码难度较大,且强行绕过站点反机器人策略不妥。

可以告知这个验证码大致是什么样的吗

@Juszoe
Copy link
Owner

Juszoe commented Oct 15, 2021

发现HDC每个页面有个隐式验证码,大概就是这个问题。 模拟这个验证码难度较大,且强行绕过站点反机器人策略不妥。

可以告知这个验证码大致是什么样的吗

谷歌的reCAPTCHA v3

@pengkaiwei
Copy link
Author

也许HDC最近新增了什么策略,cookie过期后仍然能够请求接口,但是会直接返回free,这也是会误判的原因。 以下是我的猜测:频繁请求接口被判机器人导致cookie失效,浏览网页重新生效。 我研究一下有什么解决方案吧,总之站点不支持的话慎用插件。

差不多半小时就失效了~ 重新用提取cookie 的浏览器,刷新一下hdc ,cookie 又可以了~ 很迷

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

5 participants