mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
add imdbid search add freeleech search add config sort option update row and field selectors add genre search drop poster fix login error msg
This commit is contained in:
@@ -279,7 +279,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||||||
* BitTorrentFiles
|
* BitTorrentFiles
|
||||||
* BiTTuRK
|
* BiTTuRK
|
||||||
* BJ-Share (BJ)
|
* BJ-Share (BJ)
|
||||||
* BlueBird [![(invite needed)][inviteneeded]](#)
|
* BlueBird
|
||||||
* Blutopia (BLU)
|
* Blutopia (BLU)
|
||||||
* Borgzelle [![(invite needed)][inviteneeded]](#)
|
* Borgzelle [![(invite needed)][inviteneeded]](#)
|
||||||
* Boxing Torrents
|
* Boxing Torrents
|
||||||
|
@@ -10,21 +10,53 @@ links:
|
|||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
- {id: 1, cat: Movies, desc: "Films"}
|
- {id: 1, cat: Movies, desc: "Фильмы Films"}
|
||||||
- {id: 2, cat: TV/Anime, desc: "Cartoons"}
|
- {id: 2, cat: TV/Anime, desc: "Мультфильмы Cartoons"}
|
||||||
- {id: 3, cat: TV/Documentary, desc: "documentary"}
|
- {id: 3, cat: TV/Documentary, desc: "Документалистика Documentary"}
|
||||||
- {id: 4, cat: Audio, desc: "Show / Music"}
|
- {id: 4, cat: Audio, desc: "Шоу/Музыка Show/Music"}
|
||||||
- {id: 5, cat: TV/Sport, desc: "Sport"}
|
- {id: 5, cat: TV/Sport, desc: "Спорт Sport"}
|
||||||
- {id: 6, cat: TV, desc: "TV series"}
|
- {id: 6, cat: TV, desc: "Сериалы TV Series"}
|
||||||
- {id: 7, cat: XXX, desc: "erotica"}
|
- {id: 7, cat: XXX, desc: "Эротика Erotica"}
|
||||||
- {id: 8, cat: Other, desc: "Demo / Misc"}
|
- {id: 8, cat: Other, desc: "Дэмо/Misc Demo/Misc"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q]
|
movie-search: [q, imdbid]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- 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:
|
login:
|
||||||
path: takelogin.php
|
path: takelogin.php
|
||||||
method: post
|
method: post
|
||||||
@@ -33,8 +65,10 @@ login:
|
|||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
error:
|
error:
|
||||||
- selector: div.error
|
- selector: div.error
|
||||||
|
message:
|
||||||
|
text: "Error during login. Its likely your username or password is incorrect."
|
||||||
test:
|
test:
|
||||||
path: browse.php
|
path: /
|
||||||
selector: a[href="logout.php"]
|
selector: a[href="logout.php"]
|
||||||
|
|
||||||
search:
|
search:
|
||||||
@@ -42,47 +76,63 @@ search:
|
|||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
# search in title
|
||||||
# 0 active, 1 incldead, 2 onlydead 3 gold, 4 without seeders, 5 diamond
|
search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
incldead: 1
|
# search in description
|
||||||
|
dsearch: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}"
|
||||||
|
# 0 active, 1 incldead, 2 onlydead, 3 gold, 5 diamond, 4 without seeders
|
||||||
|
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
||||||
|
genre: "{{ .Query.Genre }}"
|
||||||
# or, and
|
# or, and
|
||||||
stype: and
|
stype: and
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table[class="embedded"][cellspacing="0"][cellpadding="5"][width="100%"] > tbody > tr:has(a[href^="details.php?id="])
|
selector: table[class="embedded"][cellspacing="0"][cellpadding="5"][width="100%"] > tbody#highlighted > tr:has(a[href^="details.php?id="])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
details:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
attribute: href
|
|
||||||
category:
|
category:
|
||||||
selector: a[href^="browse.php?cat="]
|
selector: a[href^="browse.php?cat="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
|
title:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
details:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php?id="]
|
selector: a[href^="download.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
imdbid:
|
||||||
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
|
attribute: href
|
||||||
grabs:
|
grabs:
|
||||||
selector: a[href*="&snatched=1#snatched"]
|
selector: a[href*="&snatched=1#snatched"]
|
||||||
|
date:
|
||||||
|
selector: div#frame > div#cleft
|
||||||
|
remove: a
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +03:00" # MSK
|
||||||
|
- name: dateparse
|
||||||
|
args: "yyyy-MM-dd HH:mm:ss zzz"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(7)
|
||||||
remove: a
|
remove: a
|
||||||
date:
|
|
||||||
selector: div#cleft > font
|
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
poster:
|
genre:
|
||||||
selector: a.tname
|
selector: div#cleft
|
||||||
attribute: onmouseover
|
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: replace
|
||||||
args: src=([^\s]+)
|
args: ["Жанр:", ""]
|
||||||
|
description:
|
||||||
|
text: "{{ .Result.genre }}"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src="pic/diamond.png"]: 0
|
img[src="pic/diamond.png"]: 0
|
||||||
@@ -94,4 +144,4 @@ search:
|
|||||||
case:
|
case:
|
||||||
img[src="pic/diamond.png"]: 2
|
img[src="pic/diamond.png"]: 2
|
||||||
"*": 1
|
"*": 1
|
||||||
# engine n/a
|
# TBDev v2.1.12
|
||||||
|
Reference in New Issue
Block a user