Skip to content

Commit

Permalink
fix(fsm): send torrent in detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyangsh authored and fzlins committed Sep 2, 2024
1 parent 98b9dd9 commit 570efd1
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions resource/sites/fsm.name/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,10 @@
"Banxia"
],
"plugins": [
{
"name": "种子详情页面",
"pages": [
"/Torrents/details"
],
"scripts": [
"/schemas/NexusPHP/common.js",
"/schemas/Common/details.js"
]
},
{
"name": "种子列表",
"pages": [
"/Torrents$"
"/Torrents"
],
"scripts": [
"/schemas/NexusPHP/common.js",
Expand Down Expand Up @@ -165,16 +155,8 @@
}
},
"common": {
"page": "/api/Torrents",
"page": "/Torrents",
"fields": {
"downloadURL": {
"selector": [
"a[href*='/Torrents/download']"
],
"filters": [
"query.attr('href')"
]
},
"size": {
"selector": [
"div.visible-xs:contains('种子大小') + div"
Expand Down

0 comments on commit 570efd1

Please sign in to comment.