Skip to content

Commit

Permalink
fix: filelist 获取完整种子名
Browse files Browse the repository at this point in the history
  • Loading branch information
ted423 committed May 16, 2022
1 parent 1a9d179 commit 8e2f828
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resource/sites/filelist.io/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,17 @@
for (let index = 0; index < rows.length; index++) {
const row = rows.eq(index);
let cells = row.find(">div");
let titleStrings = cells
.eq(fieldIndex.title)
.find("a")
.attr("title");
let title = cells
.eq(fieldIndex.title)
.find("a")
.first();
if (title.length == 0) {
continue;
}
let titleStrings = title.text();
let link = title.attr("href");
if (link && link.substr(0, 4) !== "http") {
link = `${site.url}/${link}`;
Expand Down

0 comments on commit 8e2f828

Please sign in to comment.