Bugfix/fix nyoo indexer (#1547)

* Line endings...

* Adjusting selectors
This commit is contained in:
chibidev 2017-07-12 06:34:14 +02:00 committed by kaso17
parent 17f544be36
commit dc38f8c041
1 changed files with 6 additions and 6 deletions

View File

@ -39,24 +39,24 @@
page: "search" page: "search"
q: "{{ .Query.Keywords}}" q: "{{ .Query.Keywords}}"
rows: rows:
selector: tr.tlistrow selector: tr.torrent-info
fields: fields:
title: title:
selector: td.tlistname a selector: td.tr-name a
category: category:
selector: td.tlisticon a selector: td.tr-cat div.nyaa-cat a
attribute: href attribute: href
filters: filters:
- name: split - name: split
args: [ "=", -1 ] args: [ "=", -1 ]
details: details:
selector: td.tlistname a selector: td.tr-name a
attribute: href attribute: href
download: download:
selector: a[title="Magnet Download"] selector: a[title="Magnet Link"]
attribute: href attribute: href
size: size:
selector: td.tlistsize selector: td.tr-size
# seeders: # seeders:
# text: 0 # text: 0
# seeders: # seeders: