mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
avg: add language support for Russian and Ukranian. #4969
This commit is contained in:
@@ -258,12 +258,76 @@
|
|||||||
grabs:
|
grabs:
|
||||||
optional: true
|
optional: true
|
||||||
selector: td[title^="Replies"]
|
selector: td[title^="Replies"]
|
||||||
# date for Russian, Ukrainian, English
|
# date for English
|
||||||
date:
|
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:
|
filters:
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2-01-06"
|
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:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src="styles/images/tor_gold.gif"]: "0"
|
img[src="styles/images/tor_gold.gif"]: "0"
|
||||||
|
Reference in New Issue
Block a user