mirror of
https://github.com/Jackett/Jackett
synced 2025-01-04 22:41:49 +00:00
avg: add language support for Russian and Ukranian. #4969
This commit is contained in:
parent
747394fce7
commit
a86e1e82f2
1 changed files with 66 additions and 2 deletions
|
@ -258,12 +258,76 @@
|
|||
grabs:
|
||||
optional: true
|
||||
selector: td[title^="Replies"]
|
||||
# date for Russian, Ukrainian, English
|
||||
# date for English
|
||||
date:
|
||||
selector: td[title="Добавлен"] p:last-of-type, td[title="Доданий"] p:last-of-type, td[title="Added"] p:last-of-type
|
||||
selector: td[title="Added"] p:last-of-type
|
||||
optional: true
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "2-01-06"
|
||||
# date for Russian
|
||||
date:
|
||||
selector: td[title="Добавлен"] p:last-of-type
|
||||
optional: true
|
||||
filters:
|
||||
# replace month abbreviations
|
||||
- name: replace
|
||||
args: ["Янв", "Jan"]
|
||||
- name: replace
|
||||
args: ["Фев", "Feb"]
|
||||
- name: replace
|
||||
args: ["Мар", "Mar"]
|
||||
- name: replace
|
||||
args: ["Апр", "Apr"]
|
||||
- name: replace
|
||||
args: ["Май", "May"]
|
||||
- name: replace
|
||||
args: ["Июн", "Jun"]
|
||||
- name: replace
|
||||
args: ["Июл", "Jul"]
|
||||
- name: replace
|
||||
args: ["Авг", "Aug"]
|
||||
- name: replace
|
||||
args: ["Сен", "Sep"]
|
||||
- name: replace
|
||||
args: ["Окт", "Oct"]
|
||||
- name: replace
|
||||
args: ["Ноя", "Nov"]
|
||||
- name: replace
|
||||
args: ["Дек", "Dec"]
|
||||
- name: dateparse
|
||||
args: "2-Jan-06"
|
||||
# date for Ukrainian
|
||||
date:
|
||||
selector: td[title="Додано"] p:last-of-type
|
||||
optional: true
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["Січ", "Jan"]
|
||||
- name: replace
|
||||
args: ["Лют", "Feb"]
|
||||
- name: replace
|
||||
args: ["Бер", "Mar"]
|
||||
- name: replace
|
||||
args: ["Кві", "Apr"]
|
||||
- name: replace
|
||||
args: ["Травень", "May"]
|
||||
- name: replace
|
||||
args: ["Чер", "Jun"]
|
||||
- name: replace
|
||||
args: ["Лип", "Jul"]
|
||||
- name: replace
|
||||
args: ["Сер", "Aug"]
|
||||
- name: replace
|
||||
args: ["Вер", "Sep"]
|
||||
- name: replace
|
||||
args: ["Жов", "Oct"]
|
||||
- name: replace
|
||||
args: ["Лис", "Nov"]
|
||||
- name: replace
|
||||
args: ["Грудень", "Dec"]
|
||||
- name: dateparse
|
||||
args: "2-Jan-06"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
img[src="styles/images/tor_gold.gif"]: "0"
|
||||
|
|
Loading…
Reference in a new issue