mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
vizuk: fix date. also allow English language. resolves #6832
This commit is contained in:
@@ -87,10 +87,6 @@
|
|||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: 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
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
@@ -167,12 +163,72 @@
|
|||||||
selector: .torrentFlags a[href*="www.imdb.com/title/tt"]
|
selector: .torrentFlags a[href*="www.imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
date:
|
date:
|
||||||
selector: td.torrent_name, .torrentOwner
|
selector: td.torrent_name:contains("Subido"):contains("-"), .torrentOwner:contains("Subido"):contains("-")
|
||||||
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "(?<=Subido )(.*)(?= por)"
|
args: "(?<=Subido )(.*)(?= por)"
|
||||||
|
- name: replace
|
||||||
|
args: [": ", ":"]
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02-01-2006 15:04"
|
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:
|
size:
|
||||||
selector: td.size a, .torrentInfo a[rel="torrent_size"]
|
selector: td.size a, .torrentInfo a[rel="torrent_size"]
|
||||||
grabs:
|
grabs:
|
||||||
@@ -182,25 +238,15 @@
|
|||||||
leechers:
|
leechers:
|
||||||
selector: td.leechers a, .torrentInfo a[rel="torrent_leechers"]
|
selector: td.leechers a, .torrentInfo a[rel="torrent_leechers"]
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 1
|
case:
|
||||||
downloadvolumefactor:
|
img[src$="torrent_free.png"][title*="No cuenta"]: 0
|
||||||
optional: true
|
img[src$="torrent_free.png"][title="Free!"]: 0
|
||||||
selector: img[src$="torrent_free.png"]
|
img[src$="torrent_free.png"][title*="0.5"]: 0.5
|
||||||
attribute: title
|
"*": 1
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: ["No cuenta la descarga", 0]
|
|
||||||
- name: replace
|
|
||||||
args: ["Cuenta descarga: 0.5", 0.5]
|
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
case:
|
||||||
uploadvolumefactor:
|
img[src$="torrent_multiple_upload.png"]: 2
|
||||||
optional: true
|
"*": 1
|
||||||
selector: img[src$="torrent_multiple_upload.png"]
|
|
||||||
attribute: title
|
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: ["Cuenta subida por: 2", 2]
|
|
||||||
minimumratio:
|
minimumratio:
|
||||||
text: 1.0
|
text: 1.0
|
||||||
minimumseedtime:
|
minimumseedtime:
|
||||||
|
Reference in New Issue
Block a user