1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-30 19:58:39 +00:00

add booktracker a Russian semi-private site. resolves #5872

This commit is contained in:
Garfield69 2019-08-18 20:49:44 +12:00
parent fc4bde770f
commit d98deb08e3
2 changed files with 75 additions and 0 deletions

View file

@ -103,6 +103,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* AniDUB
* ArenaBG
* BaibaKo
* BookTracker
* Crazy's Corner
* CzTorrent
* Deildu

View file

@ -0,0 +1,74 @@
---
site: booktracker
name: BookTracker
description: "BookTracker is a RUSSIAN Semi-Private Torrent Tracker for EBOOKS"
language: ru-ru
type: private
encoding: UTF-8
links:
- https://booktracker.org/
caps:
categorymappings:
- {id: 1, cat: Books/Ebook, desc: "Ebooks"}
modes:
search: [q]
login:
path: login.php
method: form
form: form[action$="/login.php"]
inputs:
login_username: "{{ .Config.username }}"
login_password: "{{ .Config.password }}"
redirect: "index.php"
autologin: 1
selectorinputs:
cookie_test:
selector: input[name="cookie_test"]
attribute: value
error:
- selector: h4.warnColor1
test:
path: index.php
selector: a[href="./login.php?logout=1"]
search:
paths:
- path: tracker.php
inputs:
nm: "{{ .Keywords }}"
o: 1
s: 2
tm: -1
sns: -1
rows:
selector: tr[id^="tor_"]:has(a[href^="./download.php?id="])
fields:
title:
selector: a.tLink
details:
selector: a.tLink
attribute: href
download:
selector: a[href^="./download.php?id="]
attribute: href
category:
text: 1
size:
selector: td:nth-child(6) > u
seeders:
selector: td.seedmed > b
leechers:
selector: td.leechmed > b
grabs:
selector: td:nth-child(9)
date:
selector: td:last-child > u
downloadvolumefactor:
text: "1"
uploadvolumefactor:
text: "1"