Skip to content

Commit e7cdf1f

Browse files
committed
fix(SpeedApp): show torrent size
1 parent f412eba commit e7cdf1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resource/sites/speedapp.io/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@
144144
}
145145
},
146146
"common": {
147-
"page": "/torrents-details.php",
147+
"page": "/browse/",
148148
"fields": {
149149
"downloadURL": {
150150
"selector": ["a[href*='.torrent']"],
151151
"filters": ["query.attr('href')"]
152152
},
153153
"size": {
154-
"selector": ["div.cover-overlay div.card-body > div.row > div.justify-content-end > div:contains('B')"],
154+
"selector": ["div.card-body > div.row > div.justify-content-end > div:contains('B')"],
155155
"filters": ["query.text().replace(/,/g,'').match(/([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length>1)?(query[1]).sizeToNumber():0"]
156156
},
157157
"sayThanksButton": {

0 commit comments

Comments
 (0)