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"
|
||||
"8": "Series & TV"
|
||||
"9": "Books"
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: "created_at"
|
||||
options:
|
||||
"created_at": "created"
|
||||
"seeders": "seeders"
|
||||
"size": "size"
|
||||
|
||||
download:
|
||||
selector: a.btn-magnet
|
||||
|
@ -52,20 +60,15 @@
|
|||
search:
|
||||
paths:
|
||||
- path: torrents
|
||||
inputs:
|
||||
"Torrent_page": "0"
|
||||
- path: torrents
|
||||
inputs:
|
||||
"Torrent_page": "40"
|
||||
- path: torrents
|
||||
inputs:
|
||||
"Torrent_page": "80"
|
||||
inputs:
|
||||
"ihq": "{{ .Keywords }}"
|
||||
"iht": "{{ .Config.category }}"
|
||||
"age": "0"
|
||||
ihq: "{{ .Keywords }}"
|
||||
iht: "{{ .Config.category }}"
|
||||
age: 0
|
||||
Torrent_sort: "{{ .Config.sort }}"
|
||||
|
||||
rows:
|
||||
selector: table > tbody > tr[data-key="0"]
|
||||
|
||||
fields:
|
||||
title:
|
||||
selector: td.title-row > a[href^="/"] > span
|
||||
|
@ -87,16 +90,16 @@
|
|||
category:
|
||||
selector: td.category-row > span
|
||||
case:
|
||||
"span[title=\"anime\"]": "1"
|
||||
"span[title=\"software\"]": "2"
|
||||
"span[title=\"games\"]": "3"
|
||||
"span[title=\"adult\"]": "4"
|
||||
"span[title=\"movies\"]": "5"
|
||||
"span[title=\"music\"]": "6"
|
||||
"span[title=\"other\"]": "7"
|
||||
"span[title=\"seriestv\"]": "8"
|
||||
"span[title=\"books\"]": "9"
|
||||
"span[title=\"anime\"]": 1
|
||||
"span[title=\"software\"]": 2
|
||||
"span[title=\"games\"]": 3
|
||||
"span[title=\"adult\"]": 4
|
||||
"span[title=\"movies\"]": 5
|
||||
"span[title=\"music\"]": 6
|
||||
"span[title=\"other\"]": 7
|
||||
"span[title=\"seriestv\"]": 8
|
||||
"span[title=\"books\"]": 9
|
||||
downloadvolumefactor:
|
||||
text: "0"
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: "1"
|
||||
text: 1
|
||||
|
|
Loading…
Add table
Reference in a new issue