Skip to content

Commit

Permalink
feat: 北洋做种数以及体积直接从页面获取,不再进行计算
Browse files Browse the repository at this point in the history
  • Loading branch information
ted423 committed Oct 24, 2021
1 parent 7b423ed commit 31e05e6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions resource/sites/tjupt.org/config.json
Expand Up @@ -151,6 +151,19 @@
}
}
},
"userSeedingTorrents": {
"merge": true,
"fields": {
"seeding": {
"selector": ["b:first"],
"filters": ["query.text().trim()"]
},
"seedingSize": {
"selector": ["b:first"],
"filters": ["$(query[0].nextSibling).text().trim().match(/([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length==2)?(query[0]).sizeToNumber():0"]
}
}
},
"/details.php": {
"merge": true,
"fields": {
Expand Down

0 comments on commit 31e05e6

Please sign in to comment.