mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
ICE Torrent: various fixes and improvements
This commit is contained in:
@@ -44,10 +44,12 @@
|
|||||||
- {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"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
|
movie-search: [q, imdbid]
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: /login.php
|
path: /login.php
|
||||||
@@ -65,14 +67,18 @@
|
|||||||
text: -1
|
text: -1
|
||||||
|
|
||||||
search:
|
search:
|
||||||
path: /browse.php
|
paths:
|
||||||
|
- path: browse.php
|
||||||
|
categorymappings: ["!", 9]
|
||||||
|
- path: browseadult.php
|
||||||
|
categorymappings: [9]
|
||||||
inputs:
|
inputs:
|
||||||
cat: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Query.Keywords }}"
|
search: "{{if .Query.IMDBID}}{{ .Query.IMDBIDShort }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
incldead: 1
|
incldead: 1
|
||||||
search_by: "name"
|
search_by: "{{ if .Query.IMDBID }}imdb{{else}}name{{end}}"
|
||||||
rows:
|
rows:
|
||||||
selector: td.torrenttable > table > tbody > tr:has(a[title][href^="details.php?id="])
|
selector: .torrenttable table[class!="ice"] > tbody > tr:has(a[title][href^="details.php?id="])
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: a[title][href^="details.php?id="]
|
selector: a[title][href^="details.php?id="]
|
||||||
@@ -81,7 +87,7 @@
|
|||||||
selector: a[title][href^="details.php?id="]
|
selector: a[title][href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
category:
|
category:
|
||||||
selector: a[href^="browse.php?cat="]
|
selector: a[href*=".php?cat="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
@@ -91,6 +97,10 @@
|
|||||||
attribute: href
|
attribute: href
|
||||||
banner:
|
banner:
|
||||||
attribute: rel
|
attribute: rel
|
||||||
|
imdb:
|
||||||
|
selector: a[href^="http://www.imdb.com/title/"]
|
||||||
|
optional: true
|
||||||
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php"]
|
selector: a[href^="download.php"]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -104,15 +114,26 @@
|
|||||||
remove: a
|
remove: a
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(2) > div
|
selector: td:nth-child(2) > div
|
||||||
|
remove: b
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["Added on: ", ""]
|
args: ["\xA0", " "]
|
||||||
- name: trim
|
- name: replace
|
||||||
args: "\xA0"
|
args: ["Added on ", ""]
|
||||||
|
- name: replace
|
||||||
|
args: ["st ", " "]
|
||||||
|
- name: replace
|
||||||
|
args: ["nd ", " "]
|
||||||
|
- name: replace
|
||||||
|
args: ["rd ", " "]
|
||||||
|
- name: replace
|
||||||
|
args: ["th ", " "]
|
||||||
|
- name: replace
|
||||||
|
args: [" by", ""]
|
||||||
- name: append
|
- name: append
|
||||||
args: " +03:00"
|
args: " +02:00"
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2 Jan 2006 15:04:05 -07:00"
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
|
Reference in New Issue
Block a user