focusx: handle two flavours of date selectors. resolves #6541

also update categories.
This commit is contained in:
Garfield69 2019-12-09 15:21:13 +13:00
parent 5172df48e1
commit 08dc395b63
1 changed files with 24 additions and 6 deletions

View File

@ -13,6 +13,11 @@
- {id: 111, cat: Movies, desc: "1922"}
- {id: 135, cat: Movies, desc: "Анон"}
- {id: 168, cat: Movies, desc: "Воспитательница"}
- {id: 189, cat: Movies, desc: "Дедвуд"}
- {id: 193, cat: Movies, desc: "Та, которой не было"}
- {id: 200, cat: Movies, desc: "Основные принципы ухода"}
- {id: 201, cat: Movies, desc: "Быстрая, как ветер"}
- {id: 202, cat: Movies, desc: "Визит инспектора"}
- {id: 10, cat: Movies, desc: "Мёд в голове"}
- {id: 16, cat: Movies, desc: "Малыш"}
- {id: 18, cat: Movies, desc: "Копенгаген"}
@ -100,6 +105,14 @@
- {id: 180, cat: TV, desc: "АКАДЕМИЯ АМБРЕЛЛА"}
- {id: 181, cat: TV, desc: "Сорвиголова"}
- {id: 182, cat: TV, desc: "Мистер Посредник"}
- {id: 183, cat: TV, desc: "Футурама"}
- {id: 184, cat: TV, desc: "Доктор Блейк"}
- {id: 185, cat: TV, desc: "Стальная Звезда"}
- {id: 186, cat: TV, desc: "Изгнание"}
- {id: 187, cat: TV, desc: "Крупный Город"}
- {id: 190, cat: TV, desc: "Кобра Кай"}
- {id: 197, cat: TV, desc: "Западное крыло"}
- {id: 199, cat: TV, desc: "Семь миров, одна планета"}
- {id: 9, cat: TV, desc: "Иерихон"}
- {id: 11, cat: TV, desc: "11-22-63"}
- {id: 12, cat: TV, desc: "Апокалипсис: Первая мировая война"}
@ -153,9 +166,9 @@
selector: ol.torrentListItems li.torrentListItem
fields:
title:
selector: div.name div.titleText h3 a
selector: h3.title a
details:
selector: div.name div.titleText h3 a
selector: h3.title a
attribute: href
filters:
- name: prepend
@ -176,7 +189,12 @@
selector: div.download a[href^="magnet:?"]
attribute: href
date:
selector: div.name div.titleText div.secondRow div span
selector: abbr.DateTime
optional: true
attribute: data-time
date:
selector: span.DateTime
optional: true
attribute: title
# 7 мар 2019 в 21:06
filters:
@ -231,7 +249,7 @@
selector: div.leechers
downloadvolumefactor:
case:
"div.name div.titleText h3 span:contains(\"Золото\")": "0"
"*": "1"
span.freeleech: 0
"*": 1
uploadvolumefactor:
text: "1"
text: 1