Skip to content

Commit

Permalink
feat: gpw添加做种信息
Browse files Browse the repository at this point in the history
  • Loading branch information
enigmazack committed Aug 15, 2021
1 parent e861409 commit 152aa3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource/sites/greatposterwall.com/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"query.text().replace(/,/g,'').match(/.+?([\\d.]+)/)",
"(query && query.length>=2)?query[1]:0"
]
},
"seedingList": {
"selector": ["a[href*='torrentid=']"],
"filters": ["jQuery.map(query, item=>$(item).attr('href').match(/torrentid=(\\d+)/)[1])"]
}
}
}
Expand Down
1 change: 1 addition & 0 deletions resource/sites/greatposterwall.com/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
let torrents = group.torrents;
torrents.forEach(torrent => {
let data = {
id: torrent.torrentId,
title:
group.artist +
" - " +
Expand Down

0 comments on commit 152aa3d

Please sign in to comment.