kickasstorrent-kathow: code tidy and

This commit is contained in:
Garfield69
2020-10-26 15:29:40 +13:00
parent 903266844a
commit ff83bc2785
3 changed files with 17 additions and 16 deletions

View File

@@ -70,8 +70,8 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Internet Archive (archive.org) * Internet Archive (archive.org)
* Isohunt2 * Isohunt2
* iTorrent * iTorrent
* KickAssTorrent (kat.li)
* KickAssTorrent (KATcr) * KickAssTorrent (KATcr)
* kickasstorrents (kickass.ws)
* kickasstorrents.to * kickasstorrents.to
* Legit Torrents * Legit Torrents
* LePorno.info * LePorno.info

View File

@@ -1,7 +1,7 @@
--- ---
id: kickasstorrent-kathow id: kickasstorrent-kathow
name: KickAssTorrent (kat.li) name: kickasstorrents (kickass.ws)
description: "kat.li is a Public KickAssTorrent clone for TV / MOVIES / GENERAL" description: "kickasstorrents (kickass.ws) is a Public KickAssTorrent clone for TV / MOVIES / GENERAL"
language: en-us language: en-us
type: public type: public
encoding: UTF-8 encoding: UTF-8
@@ -28,18 +28,18 @@ legacylinks:
caps: caps:
categories: categories:
movies: Movies applications: PC
tv: TV
music: Audio
books: Books books: Books
games: Console games: Console
applications: PC movies: Movies
xxx: XXX music: Audio
other: Other other: Other
tv: TV
xxx: XXX
# additional from proxy # additional from proxy
video: TV # Movies
porn: XXX
audio: Audio audio: Audio
porn: XXX
video: TV # Movies
modes: modes:
search: [q] search: [q]
@@ -65,13 +65,12 @@ settings:
desc: desc desc: desc
asc: asc asc: asc
search: search:
paths: paths:
- path: "{{ if .Keywords }}usearch/{{ .Keywords }}/{{else}}new/{{end}}?field={{ .Config.sort }}&sorder={{ .Config.type }}" - path: "{{ if .Keywords }}usearch/{{ .Keywords }}/{{ else }}new/{{ end }}?field={{ .Config.sort }}&sorder={{ .Config.type }}"
rows: rows:
selector: table[class="data"] tr[id] selector: table.data tr[id]
fields: fields:
category: category:
@@ -92,9 +91,9 @@ search:
- name: replace - name: replace
args: ["Video", "movies"] args: ["Video", "movies"]
title: title:
selector: td:nth-child(1) > div > div > a[class="cellMainLink"] selector: a[class="cellMainLink"]
details: details:
selector: td:nth-child(1) > div > div > a[class="cellMainLink"] selector: a[class="cellMainLink"]
attribute: href attribute: href
download: download:
optional: true optional: true
@@ -118,6 +117,8 @@ search:
args: ["[.](?=.*[.])", ""] args: ["[.](?=.*[.])", ""]
date: date:
selector: td:nth-child(3) selector: td:nth-child(3)
filters:
- name: timeago
seeders: seeders:
selector: td:nth-child(4) selector: td:nth-child(4)
filters: filters:

View File

@@ -51,7 +51,7 @@ download:
search: search:
paths: paths:
- path: "{{ if .Keywords }}usearch/{{ .Keywords }}/{{else}}new/{{end}}?sortby={{ .Config.sort }}&sort={{ .Config.type }}" - path: "{{ if .Keywords }}usearch/{{ .Keywords }}/{{ else }}new/{{ end }}?sortby={{ .Config.sort }}&sort={{ .Config.type }}"
rows: rows:
selector: table.data tr.odd, table.data tr.even selector: table.data tr.odd, table.data tr.even