mirror of https://github.com/Jackett/Jackett
parent
e9725ba75b
commit
9378cf84ad
|
@ -20,20 +20,26 @@ caps:
|
|||
- {id: 9, cat: TV/Other, desc: "Programas TV"}
|
||||
- {id: 8, cat: Audio/Lossless, desc: "Audios"}
|
||||
- {id: 10, cat: XXX/x264, desc: "XXX"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q]
|
||||
movie-search: [q]
|
||||
music-search: [q]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: info
|
||||
type: info
|
||||
label: How to get the Cookie
|
||||
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
|
||||
|
||||
login:
|
||||
path: index.php
|
||||
method: form
|
||||
method: cookie
|
||||
inputs:
|
||||
usuario: "{{ .Config.username }}"
|
||||
contrasena: "{{ .Config.password }}"
|
||||
error:
|
||||
- selector: p.error
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
test:
|
||||
path: index.php
|
||||
selector: .tcabecera
|
||||
|
@ -49,11 +55,13 @@ search:
|
|||
sec: listado
|
||||
ord: 9
|
||||
b: "{{ .Keywords }}"
|
||||
ver: "0"
|
||||
relanz: "0"
|
||||
ver: 0
|
||||
relanz: 0
|
||||
$raw: "{{range .Categories}}&cat[]={{.}}{{end}}"
|
||||
|
||||
rows:
|
||||
selector: "table.listatorrents tr:not(:first-child)"
|
||||
|
||||
fields:
|
||||
category:
|
||||
selector: td.categorias a
|
||||
|
@ -81,9 +89,15 @@ search:
|
|||
details:
|
||||
selector: td.titulo a[id]
|
||||
attribute: href
|
||||
download:
|
||||
selector: td.descargar a
|
||||
attribute: href
|
||||
comments:
|
||||
selector: td.foro a
|
||||
attribute: href
|
||||
description:
|
||||
optional: true
|
||||
selector: td.titulo a[class]
|
||||
size:
|
||||
selector: td.tamano
|
||||
seeders:
|
||||
|
@ -135,14 +149,12 @@ search:
|
|||
args: ["Noviembre", "November"]
|
||||
- name: replace
|
||||
args: ["Diciembre", "December"]
|
||||
- name: append
|
||||
args: " +01:00" # CET
|
||||
- name: dateparse
|
||||
args: "Monday 2 January 2006, 15:04"
|
||||
download:
|
||||
selector: td.descargar a
|
||||
attribute: href
|
||||
|
||||
args: "Monday 2 January 2006, 15:04 -07:00"
|
||||
downloadvolumefactor:
|
||||
text: "1"
|
||||
text: 1
|
||||
downloadvolumefactor:
|
||||
optional: true
|
||||
selector: td.descargar a b strong
|
||||
|
@ -151,9 +163,8 @@ search:
|
|||
args: [" X2", ""]
|
||||
- name: replace
|
||||
args: ["Freeleech", "0"]
|
||||
|
||||
uploadvolumefactor:
|
||||
text: "1"
|
||||
text: 1
|
||||
uploadvolumefactor:
|
||||
optional: true
|
||||
selector: td.descargar a b strong
|
||||
|
@ -161,9 +172,7 @@ search:
|
|||
- name: replace
|
||||
args: ["Freeleech X2", "2"]
|
||||
minimumratio:
|
||||
text: "1.0"
|
||||
text: 1.0
|
||||
minimumseedtime:
|
||||
text: "345600"
|
||||
description:
|
||||
optional: true
|
||||
selector: td.titulo a[class]
|
||||
text: 345600
|
||||
# engine tbd
|
||||
|
|
Loading…
Reference in New Issue