Skip to content

Commit

Permalink
Merge pull request #1100 from luckiestone/dev
Browse files Browse the repository at this point in the history
修复HDB "One Icon" 造成的搜索问题
  • Loading branch information
ted423 committed Aug 1, 2022
2 parents 2ff576a + a31766c commit 918e898
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resource/sites/hdbits.org/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
//配置
category: 0
};
if(options.page.find("div#codec1"))
fieldIndex = {time: 3,size: 4,seeders: 6,leechers: 7,completed: 5,name: 1,author: 8,category: 0};
if(rows.eq(0).find(">td").length == 9) {
fieldIndex = {time: 3,size: 4,seeders: 6,leechers: 7,completed: 5,name: 1,author: 8,category: 0};
}
if (site.url.substr(-1) == "/") {
site.url = site.url.substr(0, site.url.length - 1);
}
Expand Down

0 comments on commit 918e898

Please sign in to comment.