mirror of
https://github.com/Jackett/Jackett
synced 2025-03-04 02:38:08 +00:00
isohunt2: ad configsort option
no need for additional pages 240 hits is excessive with 3 calls 80 in one call is good enough
This commit is contained in:
parent
67a2681bad
commit
c9656a8723
1 changed files with 25 additions and 22 deletions
|
@ -41,6 +41,14 @@
|
||||||
"7": "Other"
|
"7": "Other"
|
||||||
"8": "Series & TV"
|
"8": "Series & TV"
|
||||||
"9": "Books"
|
"9": "Books"
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "created_at"
|
||||||
|
options:
|
||||||
|
"created_at": "created"
|
||||||
|
"seeders": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
|
||||||
download:
|
download:
|
||||||
selector: a.btn-magnet
|
selector: a.btn-magnet
|
||||||
|
@ -52,20 +60,15 @@
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: torrents
|
- path: torrents
|
||||||
inputs:
|
|
||||||
"Torrent_page": "0"
|
|
||||||
- path: torrents
|
|
||||||
inputs:
|
|
||||||
"Torrent_page": "40"
|
|
||||||
- path: torrents
|
|
||||||
inputs:
|
|
||||||
"Torrent_page": "80"
|
|
||||||
inputs:
|
inputs:
|
||||||
"ihq": "{{ .Keywords }}"
|
ihq: "{{ .Keywords }}"
|
||||||
"iht": "{{ .Config.category }}"
|
iht: "{{ .Config.category }}"
|
||||||
"age": "0"
|
age: 0
|
||||||
|
Torrent_sort: "{{ .Config.sort }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table > tbody > tr[data-key="0"]
|
selector: table > tbody > tr[data-key="0"]
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: td.title-row > a[href^="/"] > span
|
selector: td.title-row > a[href^="/"] > span
|
||||||
|
@ -87,16 +90,16 @@
|
||||||
category:
|
category:
|
||||||
selector: td.category-row > span
|
selector: td.category-row > span
|
||||||
case:
|
case:
|
||||||
"span[title=\"anime\"]": "1"
|
"span[title=\"anime\"]": 1
|
||||||
"span[title=\"software\"]": "2"
|
"span[title=\"software\"]": 2
|
||||||
"span[title=\"games\"]": "3"
|
"span[title=\"games\"]": 3
|
||||||
"span[title=\"adult\"]": "4"
|
"span[title=\"adult\"]": 4
|
||||||
"span[title=\"movies\"]": "5"
|
"span[title=\"movies\"]": 5
|
||||||
"span[title=\"music\"]": "6"
|
"span[title=\"music\"]": 6
|
||||||
"span[title=\"other\"]": "7"
|
"span[title=\"other\"]": 7
|
||||||
"span[title=\"seriestv\"]": "8"
|
"span[title=\"seriestv\"]": 8
|
||||||
"span[title=\"books\"]": "9"
|
"span[title=\"books\"]": 9
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue