mirror of https://github.com/Jackett/Jackett
126 lines
3.7 KiB
YAML
126 lines
3.7 KiB
YAML
|
---
|
||
|
site: totallykids
|
||
|
name: TotallyKids
|
||
|
description: "TotallyKids (TK) is a Private Torrent Tracker for CHILDRENS MOVIES / TV / GENERAL"
|
||
|
language: en-us
|
||
|
type: private
|
||
|
encoding: UTF-8
|
||
|
links:
|
||
|
- http://www.totallykids.tv/
|
||
|
|
||
|
settings:
|
||
|
- name: username
|
||
|
type: text
|
||
|
label: Username
|
||
|
- name: password
|
||
|
type: password
|
||
|
label: Password
|
||
|
- name: info_results
|
||
|
type: info
|
||
|
label: "Search results"
|
||
|
default: "For best results, increase the torrents number in your profile to 100.<br />Default is 15."
|
||
|
|
||
|
caps:
|
||
|
categorymappings:
|
||
|
- {id: 5, cat: Audio, desc: "Music"}
|
||
|
- {id: 6, cat: Audio/Audiobook, desc: "Audiobooks"}
|
||
|
- {id: 4, cat: Books/Comics, desc: "Comics"}
|
||
|
- {id: 7, cat: Books/EBook, desc: "E-Books"}
|
||
|
- {id: 16, cat: Movies, desc: "Family Movies"}
|
||
|
- {id: 23, cat: Movies, desc: "Teen Movies"}
|
||
|
- {id: 8, cat: PC/Games, desc: "Games"}
|
||
|
- {id: 1, cat: TV, desc: "Kids"}
|
||
|
- {id: 2, cat: TV, desc: "Family"}
|
||
|
- {id: 15, cat: TV, desc: "Educational"}
|
||
|
- {id: 24, cat: TV, desc: "Teens"}
|
||
|
|
||
|
modes:
|
||
|
search: [q]
|
||
|
tv-search: [q, season, ep]
|
||
|
movie-search: [q]
|
||
|
music-search: [q]
|
||
|
|
||
|
login:
|
||
|
path: index.php?page=login
|
||
|
method: form
|
||
|
form: form[action^="index.php?page=login"]
|
||
|
inputs:
|
||
|
uid: "{{ .Config.username }}"
|
||
|
pwd: "{{ .Config.password }}"
|
||
|
error:
|
||
|
- selector: tr td span[style="color:#FF0000;"]
|
||
|
test:
|
||
|
path: index.php
|
||
|
selector: a[href="logout.php"]
|
||
|
|
||
|
search:
|
||
|
paths:
|
||
|
# http://www.totallykids.tv/index.php?page=torrents&search=scooby&category=1;2;5;6;4;7;8;15;24;16;23&options=0&active=0
|
||
|
- path: index.php
|
||
|
inputs:
|
||
|
page: torrents
|
||
|
search: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{end}}"
|
||
|
category: "{{if .Categories}}{{range .Categories}}{{.}};{{end}}{{else}}0{{end}}"
|
||
|
options: 0
|
||
|
active: 0
|
||
|
|
||
|
rows:
|
||
|
selector: table.lista tr td table.lista tr:has(a[href^="index.php?page=torrent-details"])
|
||
|
fields:
|
||
|
title:
|
||
|
selector: td a[href^="index.php?page=torrent-details"]
|
||
|
details:
|
||
|
selector: td a[href^="index.php?page=torrent-details"]
|
||
|
attribute: href
|
||
|
category:
|
||
|
selector: td a[href^="index.php?page=torrents&category="]
|
||
|
attribute: href
|
||
|
filters:
|
||
|
- name: querystring
|
||
|
args: category
|
||
|
download:
|
||
|
selector: td a[href^="download.php"]
|
||
|
attribute: href
|
||
|
imdb:
|
||
|
optional: true
|
||
|
selector: a[href*="http://www.imdb.com/title/"]
|
||
|
attribute: href
|
||
|
filters:
|
||
|
# http://anonym.to?javascript:popdetails('http://www.imdb.com/title/tt0086817');
|
||
|
- name: replace
|
||
|
args: [" http://anonym.to?javascript:popdetails('", ""]
|
||
|
- name: replace
|
||
|
args: ["');", ""]
|
||
|
size:
|
||
|
selector: td:nth-child(10)
|
||
|
# two flavours of dates
|
||
|
date:
|
||
|
# Yesterday at 10:03:30 PM
|
||
|
selector: td:nth-child(5):contains("day")
|
||
|
optional: true
|
||
|
filters:
|
||
|
- name: re_replace
|
||
|
args: ["[ ]at|[\\s+]|[//\xa0],\\/g", " "]
|
||
|
date:
|
||
|
# February 09, 2019, 06:35:08 AM
|
||
|
selector: td:nth-child(5):not(:contains("day"))
|
||
|
optional: true
|
||
|
filters:
|
||
|
- name: re_replace
|
||
|
args: ["[,]|[\\s+]|[//\xa0],\\/g", " "]
|
||
|
- name: dateparse
|
||
|
args: "January 02 2006 03:04:05 PM"
|
||
|
seeders:
|
||
|
selector: td:nth-child(6)
|
||
|
leechers:
|
||
|
selector: td:nth-child(7)
|
||
|
grabs:
|
||
|
selector: td:nth-child(8)
|
||
|
downloadvolumefactor:
|
||
|
case:
|
||
|
img[src="gold/gold.gif"]: "0"
|
||
|
"*": "1"
|
||
|
uploadvolumefactor:
|
||
|
text: "1"
|
||
|
|