mirror of https://github.com/Jackett/Jackett
229 lines
7.0 KiB
YAML
229 lines
7.0 KiB
YAML
---
|
||
id: totheglory
|
||
name: ToTheGlory
|
||
description: "ToTheGlory (TTG) A Chinese tracker"
|
||
language: zh-CN
|
||
type: private
|
||
encoding: UTF-8
|
||
links:
|
||
- https://totheglory.im/
|
||
|
||
caps:
|
||
categories:
|
||
# 电影 Movie
|
||
电影DVDRip: Movies/SD # Movie DVDRip
|
||
电影720p: Movies/HD # Movie 720p
|
||
电影1080i/p: Movies/HD # Movie 1080i / p
|
||
BluRay原盘: Movies/BluRay # BluRay original disc
|
||
影视2160p: Movies/UHD # Media - 2160p
|
||
UHD原盘: Movies/UHD # Blu-ray UHD
|
||
# 纪录片 Docs
|
||
纪录片720p: Movies/HD # Documentary 720p
|
||
纪录片1080i/p: Movies/HD # Documentary 1080i / p
|
||
纪录片BluRay原盘: Movies/BluRay # Documentary BluRay Original
|
||
# 剧集 TV
|
||
欧美剧720p: TV/HD # TV Series - EU/US - 720p
|
||
欧美剧1080i/p: TV/HD # TV Series - EU/US - 1080i/p
|
||
高清日剧: TV/HD # TV Series - JP
|
||
大陆港台剧1080i/p: TV/HD # TV Series - CN - 1080i/p
|
||
大陆港台剧720p: TV/HD # TV Series - CN - 720p
|
||
高清韩剧: TV/HD # TV Series - KR
|
||
# 剧集包 TV Packs
|
||
欧美剧包: TV/HD # TV Packs - EU/US
|
||
日剧包: TV/HD # TV Packs - JP
|
||
韩剧包: TV/HD # TV Packs - CN
|
||
华语剧包: TV/HD # TV Packs - KR
|
||
# 音乐 Audio
|
||
(电影原声&Game)OST: Audio # OST - (Movie & Game) Track
|
||
无损音乐FLAC&APE: Audio/Lossless # FLAC & APE
|
||
MV&演唱会: Audio/Video # MV & Concert
|
||
# 其他 Other
|
||
高清体育节目: TV/Sport # HD Sports
|
||
高清动漫: TV/Anime # HD Animation
|
||
韩国综艺: TV/HD # TV Shows - KR
|
||
高清综艺: TV/HD # TV Shows
|
||
日本综艺: TV/HD # TV Shows - JP
|
||
MiniVideo: Other # MiniVideo
|
||
补充音轨: Audio # Supplemental audio tracks
|
||
iPhone/iPad视频: PC/Mobile-Other # IPhone / iPad video
|
||
# 单机游戏
|
||
PC: PC/Games # Games - PC
|
||
MAC: PC/Mac # Games - MAC
|
||
# 微软系列
|
||
XBOX360: Console/XBox 360 # MicroSoft - XBOX360
|
||
XBOX1: Console/XBox # MicroSoft - XBOX360
|
||
XBLA: Console/XBox # MicroSoft - XBLA
|
||
XBOX+to+XBOX360: Console/XBox # MicroSoft - XBOX to XBOX360
|
||
# 索尼系列
|
||
PS2: Console/Other # SONY - PS2
|
||
PSP: Console/PSP # SONY - PSP
|
||
PS4: Console/PS4 # SONY - PS4
|
||
PS3: Console/PS3 # SONY - PS3
|
||
PSV: Console/PS Vita # SONY - PSV
|
||
# 任天堂系列
|
||
WIIU: Console/WiiU # Nintendo - WIIU
|
||
WII: Console/Wii # Nintendo- WII
|
||
SWITCH: Console/Other # Nintendo - SWITCH
|
||
NDS: Console/NDS # Nintendo - NDS
|
||
NGC: Console/Other # Nintendo - NGC
|
||
# 主机影视
|
||
PS3兼容高清: Console/PS3 # Video - HD - PS3
|
||
PSP兼容高清&标清: Console/PSP # Video - SD&HD - PSP
|
||
XBOX360兼容高清: Console/XBox 360 # Video - HD - XBOX360
|
||
Game+Video: Console/Other # Video - Game Video
|
||
# 软件
|
||
APPZ: PC # Software - APPZ
|
||
Game+Ebook: Books/EBook # Software - Game Ebook
|
||
Ebook: Books/EBook # Software - Ebook
|
||
# 苹果系列
|
||
iPhone/iPad游戏: PC/Mobile-iOS # Apple - Game - iPhone/iPad
|
||
iPad书籍: Books/EBook # Apple - Book - iPad
|
||
iPhone/iPad软件: PC/Mobile-iOS # Apple - Software - iPhone/iPad
|
||
|
||
modes:
|
||
search: [q]
|
||
tv-search: [q, season, ep, imdbid]
|
||
movie-search: [q, imdbid]
|
||
music-search: [q]
|
||
book-search: [q]
|
||
|
||
settings:
|
||
- name: username
|
||
type: text
|
||
label: Username
|
||
- name: password
|
||
type: password
|
||
label: Password
|
||
- name: 2facode
|
||
type: text
|
||
label: 2FA code
|
||
- name: info_2fa
|
||
type: info
|
||
label: "About 2FA code"
|
||
default: "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the TTG Web Site. Otherwise just leave it empty."
|
||
- name: passid
|
||
type: select
|
||
label: Security Question ID
|
||
default: 0
|
||
options:
|
||
0: Security question (Ignore not set)
|
||
1: When did your start using PT?
|
||
2: How did you get to know about TTG?
|
||
3: What's the name of the first movie you watched in a cinema?
|
||
4: What's your favorite movie?
|
||
5: Who's your favorite porn star?
|
||
6: Who's your favorite actor/actress?
|
||
7: What's your most anticipated movie?
|
||
- name: info_passid
|
||
type: info
|
||
label: "About Security ID"
|
||
default: "Only select the <b>Security Question ID</b> from the pulldown if you have set it on the TTG Web Site. Otherwise just leave it as ignore not set."
|
||
- name: passan
|
||
type: text
|
||
label: Security Question Answer
|
||
- name: info_passan
|
||
type: info
|
||
label: "About Security Question Answer"
|
||
default: "Only fill in the <b>Security Question Answer</b> box if you have set it on the TTG Web Site. Dont forget to write your answer in the same language you saved it on the TTG Web Site. Otherwise just leave it empty."
|
||
|
||
login:
|
||
path: login.php?returnto=
|
||
method: form
|
||
form: form[action="takelogin.php"]
|
||
inputs:
|
||
username: "{{ .Config.username }}"
|
||
password: "{{ .Config.password }}"
|
||
rememberme: yes
|
||
otp: "{{ .Config.2facode }}"
|
||
passid: "{{ .Config.passid }}"
|
||
passan: "{{ .Config.passan }}"
|
||
error:
|
||
- selector: td.embedded:has(h2:contains("!")) # Chinese, Japanese
|
||
- selector: td.embedded:has(h2:contains("!")) # English, Korean
|
||
test:
|
||
path: my.php
|
||
|
||
search:
|
||
paths:
|
||
- path: browse.php
|
||
inputs:
|
||
c: M
|
||
- path: browse.php
|
||
categories: [1000, 1010, 1020, 1030, 1040, 1050, 1060, 1070, 1080, 1090, 1100, 1110, 1120, 1130, 1140, 1150, 1160, 1170, 1180, 4000, 4010, 4020, 4030, 4040, 4050, 4060, 4070, 7000, 7010, 7020, 7030, 7040, 7050, 7060]
|
||
inputs:
|
||
c: G
|
||
inputs:
|
||
search_field: "{{ range .Categories }}分类:`{{.}}` {{end}}{{ if .Query.IMDBID }}imdb{{ .Query.IMDBIDShort }}{{ else }}{{ .Keywords }}{{ end }}"
|
||
rows:
|
||
selector: table#torrent_table > tbody > tr[id]
|
||
|
||
fields:
|
||
description:
|
||
selector: div.name_left > a > b
|
||
title:
|
||
selector: div.name_left > a > b
|
||
remove: span
|
||
category:
|
||
selector: tr[id] td:nth-child(1) > a
|
||
attribute: href
|
||
filters:
|
||
- name: querystring
|
||
args: search_field
|
||
- name: replace
|
||
args: ["category:", ""]
|
||
- name: trim
|
||
args: "\""
|
||
details:
|
||
selector: div.name_left > a
|
||
attribute: href
|
||
download:
|
||
selector: a.dl_a
|
||
attribute: href
|
||
files:
|
||
selector: td:nth-child(3)
|
||
size:
|
||
selector: td:nth-child(7)
|
||
seeders:
|
||
selector: td:nth-child(9)
|
||
filters:
|
||
- name: split
|
||
args: ["/", 0]
|
||
leechers:
|
||
selector: td:nth-child(9)
|
||
filters:
|
||
- name: split
|
||
args: ["/", 1]
|
||
- name: replace
|
||
args: ["\n", ""]
|
||
grabs:
|
||
selector: td:nth-child(8)
|
||
date:
|
||
selector: td:nth-child(5)
|
||
filters:
|
||
- name: append
|
||
args: " +08:00" # CST
|
||
- name: dateparse
|
||
args: "2006-01-0215:04:05 -07:00"
|
||
imdb:
|
||
selector: span.imdb_rate > a
|
||
attribute: href
|
||
downloadvolumefactor:
|
||
case:
|
||
img[alt="free"]: 0
|
||
img[alt="50%"]: 0.5
|
||
img[alt="30%"]: 0.3
|
||
"*": 1
|
||
uploadvolumefactor:
|
||
case:
|
||
img[alt="200%"]: 2
|
||
"*": 1
|
||
minimumratio:
|
||
case:
|
||
img[title="Hit and Run"]: 1
|
||
"*": 0
|
||
minimumseedtime:
|
||
case:
|
||
img[title="Hit and Run"]: 216000
|
||
"*": 0
|
||
# engine n/a
|