mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
vizuk: fix date. also allow English language. resolves #6832
This commit is contained in:
parent
424370a1c3
commit
b891b24e26
1 changed files with 69 additions and 23 deletions
|
@ -87,10 +87,6 @@
|
|||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: info_language
|
||||
type: info
|
||||
label: "Languages"
|
||||
default: "This Indexer only works if your Vizuk account is set for the <b>Spanish</b> language. Using another language will not return results."
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
|
@ -167,12 +163,72 @@
|
|||
selector: .torrentFlags a[href*="www.imdb.com/title/tt"]
|
||||
attribute: href
|
||||
date:
|
||||
selector: td.torrent_name, .torrentOwner
|
||||
selector: td.torrent_name:contains("Subido"):contains("-"), .torrentOwner:contains("Subido"):contains("-")
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(?<=Subido )(.*)(?= por)"
|
||||
- name: replace
|
||||
args: [": ", ":"]
|
||||
- name: dateparse
|
||||
args: "02-01-2006 15:04"
|
||||
date:
|
||||
selector: td.torrent_name:contains("Subido"):contains(" a "), .torrentOwner:contains("Subido"):contains(" a ")
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(?<=Subido )(.*)(?= por)"
|
||||
- name: replace
|
||||
args: [": ", ":"]
|
||||
- name: replace
|
||||
args: ["Ayer a las", "Yesterday"]
|
||||
- name: replace
|
||||
args: ["Hoy en", "Today"]
|
||||
- name: replace
|
||||
args: ["Lunes a", "Monday"]
|
||||
- name: replace
|
||||
args: ["Martes a", "Tuesday"]
|
||||
- name: replace
|
||||
args: ["Miércoles a", "Wednesday"]
|
||||
- name: replace
|
||||
args: ["Jueves a", "Thursday"]
|
||||
- name: replace
|
||||
args: ["Viernes a", "Friday"]
|
||||
- name: replace # WTF?
|
||||
args: ["Friday a", "Friday"]
|
||||
- name: replace
|
||||
args: ["Sábado a", "Saturday"]
|
||||
- name: replace
|
||||
args: ["Domingo a", "Sunday"]
|
||||
- name: fuzzytime
|
||||
date:
|
||||
selector: td.torrent_name:contains("Subido"):contains("Hoy"), .torrentOwner:contains("Subido"):contains("Hoy")
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(?<=Subido )(.*)(?= por)"
|
||||
- name: replace
|
||||
args: [": ", ":"]
|
||||
- name: replace
|
||||
args: ["Hoy en", "Today"]
|
||||
- name: fuzzytime
|
||||
date:
|
||||
selector: td.torrent_name:contains("Uploaded"):contains("-"), .torrentOwner:contains("Uploaded"):contains("-")
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(?<=Uploaded )(.*)(?= by)"
|
||||
- name: dateparse
|
||||
args: "02-01-2006 15:04"
|
||||
date:
|
||||
selector: td.torrent_name:contains("Uploaded"):not(:contains("-")), .torrentOwner:contains("Uploaded"):not(:contains("-"))
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(?<=Uploaded )(.*)(?= by)"
|
||||
- name: replace
|
||||
args: [" at ", " "]
|
||||
- name: fuzzytime
|
||||
size:
|
||||
selector: td.size a, .torrentInfo a[rel="torrent_size"]
|
||||
grabs:
|
||||
|
@ -182,25 +238,15 @@
|
|||
leechers:
|
||||
selector: td.leechers a, .torrentInfo a[rel="torrent_leechers"]
|
||||
downloadvolumefactor:
|
||||
text: 1
|
||||
downloadvolumefactor:
|
||||
optional: true
|
||||
selector: img[src$="torrent_free.png"]
|
||||
attribute: title
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["No cuenta la descarga", 0]
|
||||
- name: replace
|
||||
args: ["Cuenta descarga: 0.5", 0.5]
|
||||
case:
|
||||
img[src$="torrent_free.png"][title*="No cuenta"]: 0
|
||||
img[src$="torrent_free.png"][title="Free!"]: 0
|
||||
img[src$="torrent_free.png"][title*="0.5"]: 0.5
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
uploadvolumefactor:
|
||||
optional: true
|
||||
selector: img[src$="torrent_multiple_upload.png"]
|
||||
attribute: title
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["Cuenta subida por: 2", 2]
|
||||
case:
|
||||
img[src$="torrent_multiple_upload.png"]: 2
|
||||
"*": 1
|
||||
minimumratio:
|
||||
text: 1.0
|
||||
minimumseedtime:
|
||||
|
|
Loading…
Reference in a new issue