3
3
"timezoneOffset" : " +0000" ,
4
4
"description" : " " ,
5
5
"icon" : " https://www.morethantv.me/favicon.ico" ,
6
- "schema" : " Luminance " ,
6
+ "schema" : " Common " ,
7
7
"tags" : [" 电视剧" , " 剧集" ],
8
8
"url" : " https://www.morethantv.me" ,
9
9
"collaborator" : " luckiestone" ,
10
10
"host" : " www.morethantv.me" ,
11
11
"formerHosts" : [
12
12
" www.morethan.tv"
13
13
],
14
- "supportedFeatures" : {
15
- "search" : false ,
16
- "imdbSearch" : false
17
- },
14
+ "plugins" : [{
15
+ "name" : " 种子详情页面" ,
16
+ "pages" : [" /torrents.php" ],
17
+ "scripts" : [" /schemas/NexusPHP/common.js" , " /schemas/Common/details.js" ]
18
+ }, {
19
+ "name" : " 种子列表" ,
20
+ "pages" : [" /torrents/browse" , " /show/(\\ d+)/$" ," /collages.php" ],
21
+ "scripts" : [" /schemas/NexusPHP/common.js" , " /schemas/Common/torrents.js" ]
22
+ }],
18
23
"selectors" : {
19
24
"userBaseInfo" : {
20
25
"merge" : true ,
74
79
"filters" : [" query.attr('title')||query.text()" , " dateTime(query).isValid()?dateTime(query).valueOf():query" ]
75
80
}
76
81
}
82
+ },
83
+ "common" : {
84
+ "page" : " /torrents.php" ,
85
+ "fields" : {
86
+ "downloadURL" : {
87
+ "selector" : [" tr[id*='torrentinfo'][class!='hidden']" ],
88
+ "filters" : [" query.prev().find(\" a[href*='action=download']\" ).attr('href')" ]
89
+ },
90
+ "size" : {
91
+ "selector" : [" tr.group_torrent > td.nobr" ],
92
+ "filters" : [" query.text().replace(/,/g,'').match(/([\\ d.]+ ?[ZEPTGMK]?i?B)/)" , " (query && query.length>1)?(query[1]).sizeToNumber():0" ]
93
+ },
94
+ "downloadURLs" : {
95
+ "selector" : [" a[href*='action=download']" ],
96
+ "filters" : [" query.toArray()" ]
97
+ },
98
+ "confirmSize" : {
99
+ "selector" : [" tr.group_torrent > td.nobr" ],
100
+ "filters" : [" query.text().replace(/,/g,'').match(/([\\ d.]+ ?[ZEPTGMK]?i?B)/)" , " (query && query.length>1)?(query[1]).sizeToNumber():0" ]
101
+ }
102
+ }
77
103
}
78
104
}
79
105
}
0 commit comments