Skip to content

Commit

Permalink
fix: jpop搜索的未登录检测
Browse files Browse the repository at this point in the history
  • Loading branch information
ted423 committed Apr 21, 2022
1 parent 095c20b commit 7026bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/sites/jpopsuki.eu/getSearchResult.js
Expand Up @@ -14,7 +14,7 @@ if (!"".getQueryString) {
class Parser {
constructor() {
this.haveData = false;
if (/auth_form/.test(options.responseText)) {
if (/You will be banned for 6 hours after your login attempts run out/.test(options.responseText)) {
options.status = ESearchResultParseStatus.needLogin; //`[${options.site.name}]需要登录后再搜索`;
return;
}
Expand Down

0 comments on commit 7026bf2

Please sign in to comment.