Skip to content

Commit

Permalink
fix(象站): 适配站点<象站>(ptvicomo.net) 数据统计、升级条件、资源搜索
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenPu2020 authored and IITII committed Sep 23, 2023
1 parent 24483d0 commit 981ec5f
Showing 1 changed file with 220 additions and 0 deletions.
220 changes: 220 additions & 0 deletions resource/sites/ptvicomo.net/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
{
"name": "象站",
"timezoneOffset": "+0800",
"schema": "NexusPHP",
"url": "https://ptvicomo.net/",
"description": "大象自中虚,中虚真不渝!",
"icon": "https://ptvicomo.net/favicon.ico",
"tags": [
"综合"
],
"host": "ptvicomo.net",
"plugins": [
{
"name": "种子列表",
"pages": [
"/special.php"
],
"scripts": [
"/schemas/NexusPHP/common.js",
"/schemas/NexusPHP/torrents.js"
]
}
],
"levelRequirements": [
{
"level": "1",
"name": "Power User",
"interval": "4",
"downloaded": "50GB",
"ratio": "1.05",
"privilege": "得到一个邀请名额;直接发布种子;查看NFO文档;查看用户列表;请求续种;发送邀请;查看排行榜;查看其它用户的种子历史;删除自己上传的字幕。"
},
{
"level": "2",
"name": "Elite User",
"interval": "8",
"downloaded": "120GB",
"ratio": "1.55",
"privilege": "封存账号后不会被删除"
},
{
"level": "3",
"name": "Crazy User",
"interval": "15",
"downloaded": "300GB",
"ratio": "2.05",
"privilege": "得到两个邀请名额;在做种/下载/发布的时候选择匿名模式"
},
{
"level": "4",
"name": "Insane User",
"interval": "25",
"downloaded": "500GB",
"ratio": "2.55",
"privilege": "发送邀请;查看普通日志"
},
{
"level": "5",
"name": "Veteran User",
"interval": "40",
"downloaded": "750GB",
"ratio": "3.05",
"privilege": "永远保留账号;得到三个邀请名额;查看其它用户的评论、帖子历史"
},
{
"level": "6",
"name": "Extreme User",
"interval": "60",
"downloaded": "1TB",
"ratio": "3.55",
"privilege": "更新过期的外部信息;查看Extreme User论坛"
},
{
"level": "7",
"name": "Ultimate User",
"interval": "80",
"downloaded": "1.5TB",
"ratio": "4.05",
"privilege": "得到五个邀请名额"
},
{
"level": "8",
"name": "Nexus Master",
"interval": "100",
"downloaded": "3TB",
"ratio": "4.55",
"privilege": "得到十个邀请名额"
}
],
"collaborator": [
"AllenPu"
],
"selectors": {
"userSeedingTorrents": {
"page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding",
"fields": {
"seeding": {
"selector": [
"b:first"
],
"filters": [
"query.text()"
]
},
"seedingSize": {
"selector": "",
"filters": [
"query.text().match(/总大小:(.*?)上一页/g)",
"(query && query.length>0) ? query[0].replace('总大小:', '').replace('<< 上一页', '').trim() : 0",
"(query != 0) ? query.sizeToNumber() : 0"
]
}
}
}
},
"searchEntryConfig": {
"area": [
{
"name": "IMDB",
"keyAutoMatch": "^(tt\\d+)$",
"appendQueryString": "&search_area=1"
}
],
"fieldSelector": {
"progress": {
"selector": [
"> td:eq(8)"
],
"filters": [
"query.text()==='-'?null:parseFloat(query.text().split('%')[0])"
]
},
"status": {
"selector": [
"> td:eq(8)"
],
"filters": [
"query.text()==='-'?null:(query.is(\"[bgcolor='#44cef6']\")?1:(parseFloat(query.text().split('%')[0])==100?(query.is(\"[bgcolor='#d0d0d0']\")?255:2):3))"
]
}
}
},
"searchEntry": [
{
"name": "全站",
"enabled": true
},
{
"queryString": "cat401=1",
"name": "电影",
"enabled": false
},
{
"queryString": "cat402=1",
"name": "电视剧",
"enabled": false
},
{
"queryString": "cat403=1",
"name": "综艺",
"enabled": false
},
{
"queryString": "cat404=1",
"name": "纪录片",
"enabled": false
},
{
"queryString": "cat405=1",
"name": "动画",
"enabled": false
},
{
"queryString": "cat406=1",
"name": "MV",
"enabled": false
},
{
"queryString": "cat407=1",
"name": "体育",
"enabled": false
}
],
"categories": [
{
"entry": "torrents.php",
"result": "&cat$id$=1",
"category": [
{
"id": 401,
"name": "电影"
},
{
"id": 402,
"name": "电视剧"
},
{
"id": 403,
"name": "综艺"
},
{
"id": 404,
"name": "纪录片"
},
{
"id": 405,
"name": "动画"
},
{
"id": 406,
"name": "MV"
},
{
"id": 407,
"name": "体育"
}
]
}
]
}

0 comments on commit 981ec5f

Please sign in to comment.