mirror of https://github.com/Jackett/Jackett
torrentmasters: update layout (#14728)
This commit is contained in:
parent
754d160a11
commit
e34716a8d9
|
@ -18,25 +18,25 @@ caps:
|
||||||
- {id: 66, cat: Movies/DVD, desc: "Film - DVD/9 (HUN)"}
|
- {id: 66, cat: Movies/DVD, desc: "Film - DVD/9 (HUN)"}
|
||||||
- {id: 84, cat: Movies/HD, desc: "Film - HD (ENG)"}
|
- {id: 84, cat: Movies/HD, desc: "Film - HD (ENG)"}
|
||||||
- {id: 68, cat: Movies/HD, desc: "Film - HD (HUN)"}
|
- {id: 68, cat: Movies/HD, desc: "Film - HD (HUN)"}
|
||||||
- {id: 82, cat: Movies/SD, desc: "Film - XviD (ENG)"}
|
- {id: 82, cat: Movies/SD, desc: "Film - SD (ENG)"}
|
||||||
- {id: 64, cat: Movies/SD, desc: "Film - XviD (HUN)"}
|
- {id: 64, cat: Movies/SD, desc: "Film - SD (HUN)"}
|
||||||
- {id: 72, cat: PC/Games, desc: "Játék - ISO"}
|
|
||||||
- {id: 73, cat: Console, desc: "Játék - Konzol"}
|
- {id: 73, cat: Console, desc: "Játék - Konzol"}
|
||||||
- {id: 94, cat: PC/Games, desc: "Játék - RIP"}
|
- {id: 94, cat: PC/Games, desc: "Játék - RIP"}
|
||||||
|
- {id: 72, cat: PC/Games, desc: "Játek - ISO"}
|
||||||
- {id: 79, cat: PC/Mobile-Other, desc: "Mobil/PDA"}
|
- {id: 79, cat: PC/Mobile-Other, desc: "Mobil/PDA"}
|
||||||
- {id: 95, cat: PC, desc: "Programok - Egyéb (Win)"}
|
- {id: 95, cat: PC, desc: "Programok - Egyeb (Win)"}
|
||||||
- {id: 74, cat: PC/ISO, desc: "Programok - ISO (Win)"}
|
- {id: 74, cat: PC/ISO, desc: "Programok - ISO (Win)"}
|
||||||
- {id: 75, cat: PC/Mac, desc: "Programok - Linux/Unix/Mac OS"}
|
- {id: 75, cat: PC/Mac, desc: "Programok - Linux/Unix/Mac OS"}
|
||||||
- {id: 101, cat: TV/SD, desc: "Sorozat - DVD (ENG)"}
|
- {id: 101, cat: TV/SD, desc: "Sorozat - DVD (ENG)"}
|
||||||
- {id: 100, cat: TV/SD, desc: "Sorozat - DVD (HUN)"}
|
- {id: 100, cat: TV/SD, desc: "Sorozat - DVD (HUN)"}
|
||||||
- {id: 89, cat: TV/HD, desc: "Sorozat - HD (ENG)"}
|
- {id: 89, cat: TV/HD, desc: "Sorozat - SD (ENG)"}
|
||||||
- {id: 97, cat: TV/HD, desc: "Sorozat - HD (HUN)"}
|
- {id: 97, cat: TV/HD, desc: "Sorozat - HD (HUN)"}
|
||||||
- {id: 86, cat: TV/SD, desc: "Sorozat - XviD (ENG)"}
|
- {id: 86, cat: TV/SD, desc: "Sorozat - SD (ENG)"}
|
||||||
- {id: 90, cat: TV/SD, desc: "Sorozat - XviD (HUN)"}
|
- {id: 90, cat: TV/SD, desc: "Sorozat - SD (HUN)"}
|
||||||
- {id: 99, cat: XXX/DVD, desc: "XXX - DVD"}
|
- {id: 99, cat: XXX/DVD, desc: "XXX - DVD"}
|
||||||
- {id: 98, cat: XXX/x264, desc: "XXX - HD"}
|
- {id: 98, cat: XXX/x264, desc: "XXX - HD"}
|
||||||
- {id: 76, cat: XXX/ImageSet, desc: "XXX - Képek"}
|
- {id: 76, cat: XXX/ImageSet, desc: "XXX - Kepek"}
|
||||||
- {id: 69, cat: XXX/XviD, desc: "XXX - XviD"}
|
- {id: 69, cat: XXX/XviD, desc: "XXX - SD"}
|
||||||
- {id: 70, cat: Audio, desc: "Zene - HUN"}
|
- {id: 70, cat: Audio, desc: "Zene - HUN"}
|
||||||
- {id: 71, cat: Audio, desc: "Zene - Külföld"}
|
- {id: 71, cat: Audio, desc: "Zene - Külföld"}
|
||||||
|
|
||||||
|
@ -62,10 +62,6 @@ settings:
|
||||||
type: info
|
type: info
|
||||||
label: How to get the User-Agent
|
label: How to get the User-Agent
|
||||||
default: "<ol><li>From the same place you fetched the cookie,</li><li>Find <b>'user-agent:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole user-agent string <i>(everything after 'user-agent: ')</i> and <b>Paste</b> here.</li></ol>"
|
default: "<ol><li>From the same place you fetched the cookie,</li><li>Find <b>'user-agent:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole user-agent string <i>(everything after 'user-agent: ')</i> and <b>Paste</b> here.</li></ol>"
|
||||||
- name: freeleech
|
|
||||||
type: checkbox
|
|
||||||
label: Search FreeLeech only
|
|
||||||
default: false
|
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -73,8 +69,8 @@ settings:
|
||||||
options:
|
options:
|
||||||
0: added
|
0: added
|
||||||
1: name
|
1: name
|
||||||
5: size
|
2: size
|
||||||
7: seeders
|
4: seeders
|
||||||
- name: type
|
- name: type
|
||||||
type: select
|
type: select
|
||||||
label: Order requested from site
|
label: Order requested from site
|
||||||
|
@ -92,96 +88,99 @@ login:
|
||||||
inputs:
|
inputs:
|
||||||
cookie: "{{ .Config.cookie }}"
|
cookie: "{{ .Config.cookie }}"
|
||||||
test:
|
test:
|
||||||
path: index.php
|
path: index
|
||||||
selector: a[href^="/logout"]
|
selector: a[href="/logout/"]
|
||||||
|
|
||||||
download:
|
|
||||||
selectors:
|
|
||||||
- selector: a[href^="download.php?id="]
|
|
||||||
attribute: href
|
|
||||||
|
|
||||||
search:
|
search:
|
||||||
headers:
|
headers:
|
||||||
User-Agent: ["{{ .Config.useragent }}"]
|
User-Agent: ["{{ .Config.useragent }}"]
|
||||||
paths:
|
paths:
|
||||||
- path: letoltes.php
|
- path: browse/
|
||||||
inputs:
|
inputs:
|
||||||
cat: 0
|
# https://torrentmasters.info/browse/?sent=yes&sort=0&type=&viewMode=normal&search=2023&incldead=0
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
# 0 active, 1 active+idead, 2 dead, 3 free, 4 x2, 5 waiting for seed, 6 my torrents, 7 requested
|
# 0 active, 1 active+dead, 2 dead, 3 my torrents, 4 requested, 9 bookmarked, 7 featured, 8 main page featured
|
||||||
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
incldead: 1
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
viewMode: normal
|
||||||
|
sent: yes
|
||||||
# does not support imdbid searches
|
# does not support imdbid searches
|
||||||
# can support genre, but you need the id. &mufaj[]=14 for Horror
|
# can search by genre but need range support. &mufaj[]=akció&mufaj[]animációs
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table > tbody#linkhatter > tr:nth-child(1)
|
selector: table.table > tbody > tr
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href^="letoltes.php?cat="]
|
selector: a[href*="categories[]="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: "categories[]"
|
||||||
title:
|
title:
|
||||||
selector: td:nth-child(3) > a[href^="torrent_adatok.php"]
|
selector: a[href^="/details/"]
|
||||||
attribute: title
|
attribute: title
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "Torrent név: (.*?)<br>"
|
||||||
details:
|
details:
|
||||||
selector: a[href^="torrent_adatok.php?id="]
|
selector: a[href^="/details/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
_id:
|
||||||
|
selector: a[href^="/details/"]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (\d+)
|
||||||
download:
|
download:
|
||||||
selector: a[href^="torrent_adatok.php?id="]
|
text: "{{ .Config.sitelink }}/download.php?id={{ .Result._id }}"
|
||||||
attribute: href
|
|
||||||
title_hungarian:
|
title_hungarian:
|
||||||
selector: td:nth-child(3) font[color="gray"]
|
selector: a[href^="/details/"]
|
||||||
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: regexp
|
||||||
args: ["| ", ""]
|
args: "Magyar/Külföldi cím: (.*?)<br>"
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(5) nobr
|
selector: td:nth-child(3)
|
||||||
remove: font
|
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
|
||||||
args: ["\xA0", ""]
|
|
||||||
- name: append
|
- name: append
|
||||||
args: " +01:00" # CET
|
args: " +01:00" # CET
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "yyyy-MM-ddHH:mm:ss zzz"
|
args: "yyyy-MM-ddHH:mm:ss zzz"
|
||||||
poster:
|
poster:
|
||||||
selector: a[onmouseover]
|
selector: a[href^="/details/"]
|
||||||
attribute: onmouseover
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "src=(.*?) border"
|
args: "src='(.*?)'"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-last-child(5)
|
selector: td:nth-last-child(5)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-last-child(4)
|
|
||||||
seeders:
|
|
||||||
selector: td:nth-last-child(3) font
|
|
||||||
leechers:
|
|
||||||
selector: td:nth-last-child(2)
|
selector: td:nth-last-child(2)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-last-child(4)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-last-child(3)
|
||||||
|
uploadvolumefactor_custom:
|
||||||
|
selector: td:nth-last-child(5) small
|
||||||
|
optional: true
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
text: 1
|
||||||
"img[src=\"pic/orokos.gif\"]": 0
|
|
||||||
"img[src=\"images/ellenorzes/ingyenes.gif\"]": 0
|
|
||||||
"*": 1
|
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"font[color=\"#01DF01\"]": 2
|
i.fa-arrow-up: "{{ .Result.uploadvolumefactor_custom }}"
|
||||||
"*": 1
|
"*": 1
|
||||||
genre:
|
genre:
|
||||||
selector: td:nth-child(3)
|
selector: td:nth-child(2) small
|
||||||
remove: a, font
|
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: re_replace
|
||||||
args: ["/xA", ""]
|
args: ["film-noir", "film_noir"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["sci-fi", "sci_fi"]
|
||||||
description:
|
description:
|
||||||
text: "{{ .Result.title_hungarian }}{{ if and .Result.title_hungarian .Result.genre }}<br>{{ else }}{{ end }}{{ .Result.genre }}"
|
text: "{{ .Result.title_hungarian }}{{ if and .Result.title_hungarian .Result.genre }}<br>{{ else }}{{ end }}{{ .Result.genre }}"
|
||||||
minimumratio:
|
|
||||||
text: 0.5
|
|
||||||
minimumseedtime:
|
minimumseedtime:
|
||||||
# 24 hours (as seconds = 24 x 60 x 60)
|
# 24 hours (as seconds = 24 x 60 x 60)
|
||||||
text: 86400
|
text: 86400
|
||||||
|
|
Loading…
Reference in New Issue