mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
sharkpt: removed. resolves #13904
This commit is contained in:
@@ -510,7 +510,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||||||
* Secret Cinema
|
* Secret Cinema
|
||||||
* SeedFile
|
* SeedFile
|
||||||
* Shareisland
|
* Shareisland
|
||||||
* SharkPT
|
|
||||||
* Shazbat [![(invite needed)][inviteneeded]](#)
|
* Shazbat [![(invite needed)][inviteneeded]](#)
|
||||||
* SiamBIT
|
* SiamBIT
|
||||||
* SkipTheCommercials
|
* SkipTheCommercials
|
||||||
|
@@ -1,153 +0,0 @@
|
|||||||
---
|
|
||||||
id: sharkpt
|
|
||||||
name: SharkPT
|
|
||||||
description: "SharkPT is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL"
|
|
||||||
language: zh-CN
|
|
||||||
type: private
|
|
||||||
encoding: UTF-8
|
|
||||||
links:
|
|
||||||
- https://sharkpt.net/
|
|
||||||
|
|
||||||
caps:
|
|
||||||
categorymappings:
|
|
||||||
- {id: 401, cat: Movies, desc: "Movies/电影"}
|
|
||||||
- {id: 402, cat: TV, desc: "TV Series/电视连续剧"}
|
|
||||||
- {id: 403, cat: TV, desc: "TV Shows/综艺"}
|
|
||||||
- {id: 404, cat: TV/Documentary, desc: "Documentaries/纪录片"}
|
|
||||||
- {id: 405, cat: TV/Anime, desc: "Animations/动漫"}
|
|
||||||
- {id: 406, cat: Audio/Video, desc: "MusicVideo/音乐视频"}
|
|
||||||
- {id: 407, cat: TV/Sport, desc: "Sports/体育"}
|
|
||||||
- {id: 408, cat: Audio, desc: "Music/HQ Audio"}
|
|
||||||
- {id: 409, cat: Other, desc: "Misc/其他"}
|
|
||||||
|
|
||||||
modes:
|
|
||||||
search: [q]
|
|
||||||
tv-search: [q, season, ep, imdbid, doubanid]
|
|
||||||
movie-search: [q, imdbid, doubanid]
|
|
||||||
music-search: [q]
|
|
||||||
|
|
||||||
settings:
|
|
||||||
- name: cookie
|
|
||||||
type: text
|
|
||||||
label: Cookie
|
|
||||||
- name: info
|
|
||||||
type: info
|
|
||||||
label: How to get the Cookie
|
|
||||||
default: "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
|
|
||||||
- name: freeleech
|
|
||||||
type: checkbox
|
|
||||||
label: Search freeleech only
|
|
||||||
default: false
|
|
||||||
- name: sort
|
|
||||||
type: select
|
|
||||||
label: Sort requested from site
|
|
||||||
default: 4
|
|
||||||
options:
|
|
||||||
4: created
|
|
||||||
7: seeders
|
|
||||||
5: size
|
|
||||||
1: title
|
|
||||||
- name: type
|
|
||||||
type: select
|
|
||||||
label: Order requested from site
|
|
||||||
default: desc
|
|
||||||
options:
|
|
||||||
desc: desc
|
|
||||||
asc: asc
|
|
||||||
- name: info_tpp
|
|
||||||
type: info
|
|
||||||
label: Results Per Page
|
|
||||||
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
|
|
||||||
|
|
||||||
login:
|
|
||||||
method: cookie
|
|
||||||
inputs:
|
|
||||||
cookie: "{{ .Config.cookie }}"
|
|
||||||
test:
|
|
||||||
path: index.php
|
|
||||||
|
|
||||||
search:
|
|
||||||
paths:
|
|
||||||
- path: torrents.php
|
|
||||||
inputs:
|
|
||||||
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
|
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }} {{ else }}{{ .Keywords }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}"
|
|
||||||
# 0 incldead, 1 active, 2 dead
|
|
||||||
incldead: 0
|
|
||||||
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30%
|
|
||||||
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
|
|
||||||
# 0 title, 1 descr, 3 uploader, 4 imdburl (4 does not appear to work)
|
|
||||||
search_area: "{{ if or .Query.IMDBID .Query.DoubanID }}1{{ else }}0{{ end }}"
|
|
||||||
# 0 AND, 1 OR, 2 exact
|
|
||||||
search_mode: 0
|
|
||||||
sort: "{{ .Config.sort }}"
|
|
||||||
type: "{{ .Config.type }}"
|
|
||||||
notnewword: 1
|
|
||||||
|
|
||||||
rows:
|
|
||||||
selector: div.torrent-item
|
|
||||||
|
|
||||||
fields:
|
|
||||||
category:
|
|
||||||
selector: div.torrent-category
|
|
||||||
case:
|
|
||||||
img[src$="movies64.png"]: 401
|
|
||||||
img[src$="tvseries64.png"]: 402
|
|
||||||
img[src$="tvshows64.png"]: 403
|
|
||||||
img[src$="doc64.png"]: 404
|
|
||||||
img[src$="anime64.png"]: 405
|
|
||||||
img[src$="mv64.png"]: 406
|
|
||||||
img[src$="sports64.png"]: 407
|
|
||||||
img[src$="hqaudio64.png"]: 408
|
|
||||||
img[src$="misc64.png"]: 409
|
|
||||||
title:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
details:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
attribute: href
|
|
||||||
_id:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
attribute: href
|
|
||||||
filters:
|
|
||||||
- name: querystring
|
|
||||||
args: id
|
|
||||||
download:
|
|
||||||
text: "download.php?id={{ .Result._id }}"
|
|
||||||
imdbid:
|
|
||||||
selector: shark-tag-group[onClick*="imdb.com/title/tt"]
|
|
||||||
attribute: onClick
|
|
||||||
doubanid:
|
|
||||||
selector: shark-tag-group[onClick*="movie.douban.com/subject/"]
|
|
||||||
attribute: onClick
|
|
||||||
description:
|
|
||||||
selector: div.torrent-subtitle
|
|
||||||
date:
|
|
||||||
selector: div.torrent-when > span
|
|
||||||
attribute: title
|
|
||||||
filters:
|
|
||||||
- name: append
|
|
||||||
args: " +08:00" # CST
|
|
||||||
- name: dateparse
|
|
||||||
args: "yyyy-MM-dd HH:mm:ss zzz"
|
|
||||||
size:
|
|
||||||
selector: div.torrent-size
|
|
||||||
seeders:
|
|
||||||
selector: div.torrent-seeders
|
|
||||||
leechers:
|
|
||||||
selector: div.torrent-leechers
|
|
||||||
grabs:
|
|
||||||
selector: div.torrent-snatches
|
|
||||||
downloadvolumefactor:
|
|
||||||
case:
|
|
||||||
"span.s-tag:contains(\"FREE\")": 0
|
|
||||||
"span.s-tag:contains(\"50%\")": 0.5
|
|
||||||
"span.s-tag:contains(\"30%\")": 0.3
|
|
||||||
"*": 1
|
|
||||||
uploadvolumefactor:
|
|
||||||
case:
|
|
||||||
"span.s-tag:contains(\"2X\")": 2
|
|
||||||
"*": 1
|
|
||||||
minimumseedtime:
|
|
||||||
# 7 day (as seconds = 7 x 24 x 60 x 60)
|
|
||||||
text: 604800
|
|
||||||
# NexusPHP Standard v1.5 Beta 4 2010-09-19
|
|
@@ -532,6 +532,7 @@ namespace Jackett.Updater
|
|||||||
"Definitions/sharespacedb.yml",
|
"Definitions/sharespacedb.yml",
|
||||||
"Definitions/shareuniversity.yml",
|
"Definitions/shareuniversity.yml",
|
||||||
"Definitions/sharingue.yml",
|
"Definitions/sharingue.yml",
|
||||||
|
"Definitions/sharkpt.yml",
|
||||||
"Definitions/shellife.yml",
|
"Definitions/shellife.yml",
|
||||||
"Definitions/shokweb.yml",
|
"Definitions/shokweb.yml",
|
||||||
"Definitions/skipthecommercials.yml", // switch to *-API #8682
|
"Definitions/skipthecommercials.yml", // switch to *-API #8682
|
||||||
|
Reference in New Issue
Block a user