Kapaki: add support for modern style

This commit is contained in:
kaso17
2018-07-26 17:34:24 +02:00
parent 3035d8b901
commit 409483e680

View File

@@ -84,11 +84,12 @@
selector: table#torrents_table_classic > tbody > tr:not(:first-child), div#content > div.torrent-box[id^="torrent_"] selector: table#torrents_table_classic > tbody > tr:not(:first-child), div#content > div.torrent-box[id^="torrent_"]
filters: filters:
- name: andmatch - name: andmatch
# the tracker has two different styles (modern/classic) it should work with both
fields: fields:
title: title:
selector: a[href*="?p=torrents&pid=10&action=details"] selector: a[href*="?p=torrents&pid=10&action=details"]
category: category:
selector: div.category_image > a selector: div.category_image > a, div.categoryImage > a
attribute: href attribute: href
filters: filters:
- name: querystring - name: querystring
@@ -117,6 +118,9 @@
downloadvolumefactor: downloadvolumefactor:
case: case:
"img[title=\"ΧΡΥΣΟ!\"]": "0" "img[title=\"ΧΡΥΣΟ!\"]": "0"
"img[title=\"100% FREE!\"]": "0"
"img[title=\"Πολλαπλασιαστής Κατεβάσματος: 0.5\"]": "0.5"
"*": "1" "*": "1"
uploadvolumefactor: uploadvolumefactor:
case: case: