mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 14:51:01 +00:00
piratbit, piratbitL: new size selector. resolves #6399
also tidy up grabs and date selectors
This commit is contained in:
parent
5a5c0a5f34
commit
3b65ea3c4e
2 changed files with 10 additions and 90 deletions
|
@ -657,72 +657,30 @@
|
|||
- name: querystring
|
||||
args: f
|
||||
size:
|
||||
selector: td div a.dLink
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["\u2193", ""] # down arrow
|
||||
selector: td > u
|
||||
seeders:
|
||||
selector: td.seedmed
|
||||
leechers:
|
||||
selector: td.leechmed
|
||||
# Russian and Ukranian and English languages are supported
|
||||
grabs:
|
||||
optional: true
|
||||
selector: td[title^="Ответов"]
|
||||
grabs:
|
||||
optional: true
|
||||
selector: td[title^="Відповідей"]
|
||||
grabs:
|
||||
optional: true
|
||||
selector: td[title^="Replies"]
|
||||
selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"]
|
||||
# 2 date flavours for 3 languages
|
||||
date:
|
||||
# 15:04
|
||||
optional: true
|
||||
selector: td[title="Добавлен"] p:first-of-type:not(:contains("-"))
|
||||
selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")), td[title="Доданий"] p:first-of-type:not(:contains("-")), td[title="Added"] p:first-of-type:not(:contains("-"))
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
date:
|
||||
# 15:04 24-02-19
|
||||
optional: true
|
||||
selector: td[title="Добавлен"] p:first-of-type:contains("-")
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06"
|
||||
date:
|
||||
# 15:04
|
||||
optional: true
|
||||
selector: td[title="Доданий"] p:first-of-type:not(:contains("-"))
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
date:
|
||||
# 15:04 24-02-19
|
||||
optional: true
|
||||
selector: td[title="Доданий"] p:first-of-type:contains("-")
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06"
|
||||
date:
|
||||
# 15:04
|
||||
optional: true
|
||||
selector: td[title="Added"] p:first-of-type:not(:contains("-"))
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
date:
|
||||
# 15:04 24-02-19
|
||||
optional: true
|
||||
selector: td[title="Added"] p:first-of-type:contains("-")
|
||||
selector: td[title="Добавлен"] p:first-of-type:contains("-"), td[title="Доданий"] p:first-of-type:contains("-"), td[title="Added"] p:first-of-type:contains("-")
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"span.isgold": "0"
|
||||
"span.issilver": "0.5"
|
||||
"*": "1"
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
text: 1
|
||||
|
|
|
@ -669,64 +669,26 @@
|
|||
- name: querystring
|
||||
args: f
|
||||
size:
|
||||
selector: td div a.dLink
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["\u2193", ""] # down arrow
|
||||
selector: td > u
|
||||
seeders:
|
||||
selector: td.seedmed
|
||||
leechers:
|
||||
selector: td.leechmed
|
||||
# Russian and Ukranian and English languages are supported
|
||||
grabs:
|
||||
optional: true
|
||||
selector: td[title^="Ответов"]
|
||||
grabs:
|
||||
optional: true
|
||||
selector: td[title^="Відповідей"]
|
||||
grabs:
|
||||
optional: true
|
||||
selector: td[title^="Replies"]
|
||||
selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"]
|
||||
# 2 date flavours for 3 languages
|
||||
date:
|
||||
# 15:04
|
||||
optional: true
|
||||
selector: td[title="Добавлен"] p:first-of-type:not(:contains("-"))
|
||||
selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")), td[title="Доданий"] p:first-of-type:not(:contains("-")), td[title="Added"] p:first-of-type:not(:contains("-"))
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
date:
|
||||
# 15:04 24-02-19
|
||||
optional: true
|
||||
selector: td[title="Добавлен"] p:first-of-type:contains("-")
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06"
|
||||
date:
|
||||
# 15:04
|
||||
optional: true
|
||||
selector: td[title="Доданий"] p:first-of-type:not(:contains("-"))
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
date:
|
||||
# 15:04 24-02-19
|
||||
optional: true
|
||||
selector: td[title="Доданий"] p:first-of-type:contains("-")
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06"
|
||||
date:
|
||||
# 15:04
|
||||
optional: true
|
||||
selector: td[title="Added"] p:first-of-type:not(:contains("-"))
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
date:
|
||||
# 15:04 24-02-19
|
||||
optional: true
|
||||
selector: td[title="Added"] p:first-of-type:contains("-")
|
||||
selector: td[title="Добавлен"] p:first-of-type:contains("-"), td[title="Доданий"] p:first-of-type:contains("-"), td[title="Added"] p:first-of-type:contains("-")
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06"
|
||||
|
|
Loading…
Reference in a new issue