mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
add TorrentKitty a Chinese Public tracker. #3210
This commit is contained in:
parent
a3f0131156
commit
27240bcfed
2 changed files with 101 additions and 0 deletions
|
@ -66,6 +66,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* TorrentCouch
|
||||
* Torrent Downloads
|
||||
* TorrentGalaxy.org
|
||||
* TorrentKitty
|
||||
* Torrent9
|
||||
* Torernt9 clone (torrents9.ch)
|
||||
* Torrentz2
|
||||
|
|
100
src/Jackett.Common/Definitions/torrentkitty.yml
Normal file
100
src/Jackett.Common/Definitions/torrentkitty.yml
Normal file
|
@ -0,0 +1,100 @@
|
|||
---
|
||||
site: torrentkitty
|
||||
name: TorrentKitty
|
||||
description: "TorrentKitty is a CHINESE Public torrent search engine."
|
||||
language: cn
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- http://cntorrentkitty.com/
|
||||
- http://cntorrentkitty.xyz/
|
||||
|
||||
settings:
|
||||
- name: category
|
||||
type: select
|
||||
label: Category
|
||||
default: "0"
|
||||
options:
|
||||
"0": "All"
|
||||
"1": "Other"
|
||||
"2": "Video"
|
||||
"3": "Music"
|
||||
"4": "Documents"
|
||||
"5": "Software"
|
||||
"6": "Compress"
|
||||
"7": "Images"
|
||||
"8": "Image"
|
||||
|
||||
caps:
|
||||
categories:
|
||||
"[其他]": Other # other
|
||||
"[视频]": Movies # video
|
||||
"[音乐]": Audio # music
|
||||
"[文档]": Books # documents
|
||||
"[软件]": PC/0day # software
|
||||
"[压缩]": PC # compress
|
||||
"[图片]": Other/Misc # images
|
||||
"[映像]": Other/Misc # image
|
||||
modes:
|
||||
search: [q]
|
||||
|
||||
download:
|
||||
selector: a[href^="magnet:?"]
|
||||
|
||||
search:
|
||||
paths:
|
||||
# http://cntorrentkitty.com/tk/what%20men%20want/1-0-0.html (10 hits)
|
||||
# http://cntorrentkitty.com/newest/ (100 hits)
|
||||
# try and fetch at least 50 keyword results
|
||||
- path: "{{if .Keywords}}tk/{{.Keywords}}/1-0-{{.Config.category}}.html{{else}}newest/{{end}}"
|
||||
- path: "{{if .Keywords}}tk/{{.Keywords}}/2-0-{{.Config.category}}.html{{else}}{{end}}"
|
||||
- path: "{{if .Keywords}}tk/{{.Keywords}}/3-0-{{.Config.category}}.html{{else}}{{end}}"
|
||||
- path: "{{if .Keywords}}tk/{{.Keywords}}/4-0-{{.Config.category}}.html{{else}}{{end}}"
|
||||
- path: "{{if .Keywords}}tk/{{.Keywords}}/5-0-{{.Config.category}}.html{{else}}{{end}}"
|
||||
rows:
|
||||
selector: p.p1:not(p.filelist), p.p0:not(p.filelist)
|
||||
after: 1
|
||||
fields:
|
||||
category:
|
||||
selector: span:nth-child(1)
|
||||
title:
|
||||
selector: a[target="_blank"]
|
||||
details:
|
||||
selector: a[target="_blank"]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[target="_blank"]
|
||||
attribute: href
|
||||
size:
|
||||
selector: b:contains(" GB"), b:contains(" MB"), b:contains(" KB")
|
||||
date:
|
||||
text: "now"
|
||||
date:
|
||||
selector: b:contains("收录"):contains(":")
|
||||
optional: true
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["收录",""]
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05"
|
||||
date:
|
||||
selector: b:contains(收录):not(:contains(":"))
|
||||
optional: true
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["收录",""]
|
||||
- name: dateparse
|
||||
args: "2006-01-02"
|
||||
files:
|
||||
selector: b:contains("个文件")
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["个文件",""]
|
||||
seeders:
|
||||
text: "1"
|
||||
leechers:
|
||||
text: "1"
|
||||
downloadvolumefactor:
|
||||
text: "0"
|
||||
uploadvolumefactor:
|
||||
text: "1"
|
Loading…
Reference in a new issue