mirror of
https://github.com/Jackett/Jackett
synced 2024-12-28 02:39:26 +00:00
icetorrent: fix login. resolves #7321
update categories fix imdb selector fix files selector
This commit is contained in:
parent
65e93ce137
commit
2f91d99e19
1 changed files with 47 additions and 16 deletions
|
@ -16,12 +16,12 @@
|
||||||
- {id: 23, cat: Books, desc: "Cartoons"}
|
- {id: 23, cat: Books, desc: "Cartoons"}
|
||||||
- {id: 73, cat: Audio/Video, desc: "Concert/Videoclip"}
|
- {id: 73, cat: Audio/Video, desc: "Concert/Videoclip"}
|
||||||
- {id: 75, cat: Other, desc: "Diverse"}
|
- {id: 75, cat: Other, desc: "Diverse"}
|
||||||
- {id: 69, cat: Books, desc: "Documentare"}
|
- {id: 69, cat: TV/Documentary, desc: "Docs RO"}
|
||||||
- {id: 51, cat: TV/Documentary, desc: "Documentaries"}
|
- {id: 51, cat: TV/Documentary, desc: "Docs"}
|
||||||
- {id: 43, cat: Books, desc: "eBooks"}
|
- {id: 43, cat: Books, desc: "eBooks"}
|
||||||
- {id: 63, cat: Movies/DVD, desc: "Filme DVD"}
|
- {id: 63, cat: Movies/DVD, desc: "Filme DVD"}
|
||||||
- {id: 65, cat: Movies/HD, desc: "Filme HD"}
|
- {id: 65, cat: Movies/HD, desc: "Filme HD"}
|
||||||
- {id: 64, cat: Movies/SD, desc: "Filme Xvid"}
|
- {id: 64, cat: Movies/SD, desc: "Filme SD"}
|
||||||
- {id: 40, cat: Console, desc: "Games/Console"}
|
- {id: 40, cat: Console, desc: "Games/Console"}
|
||||||
- {id: 26, cat: PC/Games, desc: "Games/PC"}
|
- {id: 26, cat: PC/Games, desc: "Games/PC"}
|
||||||
- {id: 38, cat: PC/Phone-Other, desc: "Mobile"}
|
- {id: 38, cat: PC/Phone-Other, desc: "Mobile"}
|
||||||
|
@ -45,24 +45,52 @@
|
||||||
- {id: 87, cat: Other, desc: "TUTS"}
|
- {id: 87, cat: Other, desc: "TUTS"}
|
||||||
- {id: 33, cat: TV/SD, desc: "TV Episodes"}
|
- {id: 33, cat: TV/SD, desc: "TV Episodes"}
|
||||||
- {id: 34, cat: TV/HD, desc: "TVHD Episodes"}
|
- {id: 34, cat: TV/HD, desc: "TVHD Episodes"}
|
||||||
- {id: 9, cat: XXX, desc: "XXX"}
|
- {id: 9, cat: XXX, desc: "XXX Video"}
|
||||||
|
- {id: 11, cat: XXX, desc: "XXX Magazine"}
|
||||||
|
- {id: 58, cat: XXX, desc: "XXX Pictures"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep, imdbid]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q, imdbid]
|
movie-search: [q, imdbid]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
# causes server 500 errors
|
||||||
|
# - name: sort
|
||||||
|
# type: select
|
||||||
|
# label: Sort requested from site
|
||||||
|
# default: "date"
|
||||||
|
# options:
|
||||||
|
# "date": "created"
|
||||||
|
# "seeders": "seeders"
|
||||||
|
# "size": "size"
|
||||||
|
# - name: type
|
||||||
|
# type: select
|
||||||
|
# label: Order requested from site
|
||||||
|
# default: "DESC"
|
||||||
|
# options:
|
||||||
|
# "DESC": "desc"
|
||||||
|
# "ASC": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login
|
||||||
method: form
|
method: form
|
||||||
form: form
|
form: form
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
|
_remember_me: on
|
||||||
error:
|
error:
|
||||||
- selector: div.alert:contains("failed")
|
- selector: div.alert:contains("failed")
|
||||||
test:
|
test:
|
||||||
path: browse.php
|
path: /
|
||||||
|
selector: a[href^="/logout?_csrf_token="]
|
||||||
|
|
||||||
ratio:
|
ratio:
|
||||||
text: -1
|
text: -1
|
||||||
|
@ -70,46 +98,49 @@
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
categorymappings: ["!", 9]
|
categorymappings: ["!", 9, 11, 58]
|
||||||
- path: browseadult.php
|
- path: browseadult.php
|
||||||
categorymappings: [9]
|
categorymappings: [9, 11, 58]
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
|
# 0 onlyalive 3 rosubbed 4 requested
|
||||||
incldead: 1
|
incldead: 1
|
||||||
search_by: "{{ if .Query.IMDBID }}imdb{{else}}name{{end}}"
|
search_by: "{{ if .Query.IMDBID }}imdb{{else}}name{{end}}"
|
||||||
|
# by: "{{ .Config.sort }}"
|
||||||
|
# ord: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.table-striped > tbody > tr:has(a[href^="details.php?id="])
|
selector: table.table-striped > tbody > 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^="?cat="]
|
selector: a[href^="?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
|
||||||
banner:
|
banner:
|
||||||
attribute: rel
|
attribute: rel
|
||||||
imdb:
|
imdb:
|
||||||
selector: a[href*="www.imdb.com/title/"]
|
selector: a[href*="www.imdb.com"]
|
||||||
optional: true
|
optional: true
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php"]
|
selector: a[href^="download.php"]
|
||||||
attribute: href
|
attribute: href
|
||||||
files:
|
files:
|
||||||
selector: a[href$="filelist=1#filelist"]
|
selector: a[href$="#filelist"]
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: (\d+)
|
args: (\d+)
|
||||||
size: # some users's have an extra column after the size/files and before the seeders column (Issue #2243)
|
size: # some users's have an extra column after the size/files and before the seeders column (Issue #2243)
|
||||||
selector: td:has(a[href$="filelist=1#filelist"])
|
selector: td:has(a[href$="#filelist"])
|
||||||
remove: a
|
remove: a
|
||||||
date:
|
date:
|
||||||
selector: td > small:has(i.fa-clock), td > span.small:has(i.fa-clock)
|
selector: td > small:has(i.fa-clock), td > span.small:has(i.fa-clock)
|
||||||
|
|
Loading…
Reference in a new issue