kickasstorrent: katcr have updated their search engine #2280

however, their ddos protection still breaks jackett for now
This commit is contained in:
Garfield69 2017-12-23 18:02:37 +13:00
parent dd8ecd1380
commit cf9677ec38
1 changed files with 17 additions and 17 deletions

View File

@ -91,19 +91,20 @@
search:
paths:
- path: "/new/{{if .Keywords}}search-torrents.php?{{range .Categories }}c{{.}}=1&{{end}}search={{.Keywords}}{{else}}{{end}}"
- path: "{{ if .Keywords }}usearch/torrents-search.php?{{range .Categories }}c{{.}}=1&{{end}}q={{.Keywords}}{{else}}torrents/top-100-latest-uploads.html{{end}}"
rows:
selector: table.ttable_headinner > tbody > tr[class^="t-row"]
filters:
- name: andmatch
selector: table[class="table table--bordered table--striped table--hover torrents_table sortable] > tbody > tr
fields:
download:
selector: a[data-download]
attribute: href
title:
selector: a.cellMainLink
selector: a.torrents_table__torrent_title b
details:
selector: a.torrents_table__torrent_title b
attribute: href
download:
selector: a[href^="magnet:?xt="]
attribute: href
category:
selector: span[id^="cat_"]
selector: span.torrents_table__upload_info
case:
":has(a:contains(\"Anime\")):contains(\"English Translated\")": 118
":has(a:contains(\"Anime\")):contains(\"Other\")": 133
@ -177,20 +178,19 @@
":has(a:contains(\"XXX\")):contains(\"Videos\")": 119
":has(a:contains(\"XXX\")):contains(\"XXX Games\")": 126
"*": 0 # some older torrents's don't have a category
details:
selector: a.cellMainLink
attribute: href
size:
selector: td:nth-child(2)
selector: td[data-title="Size"]
files:
selector: td[data-title="Files"]
date:
selector: td:nth-child(3)
selector: td[data-title="Age"]
filters:
- name: dateparse
args: "02-01-2006 15:04:05 -07:00"
args: "2006-01-02 15:04:05"
seeders:
selector: td:nth-child(4)
selector: td[data-title="Seed"]
leechers:
selector: td:nth-child(5)
selector: td[data-title="Leech"]
downloadvolumefactor:
text: "0"
uploadvolumefactor: