1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 04:38:20 +00:00

topnow: new layout #8199

This commit is contained in:
Garfield69 2020-04-16 13:55:49 +12:00
parent a780b7a678
commit 5f5b9afc64

View file

@ -21,32 +21,36 @@
settings: [] settings: []
download:
selector: a#torrent
attribute: href
search: search:
paths: paths:
# http://topnow.se/search.php?dayq=mandalorian # https://topnow.se/index.php?search=
- path: search.php - path: index.php
inputs: inputs:
dayq: "{{.Keywords}}" search: "{{ .Keywords }}"
keywordsfilters:
# the site uses % for wildcard
- name: re_replace
args: ["[^a-zA-Z0-9]+", "%"]
rows: rows:
selector: table.topic_table # old cards do not have a download link
selector: table.each_card_table:has(a[href^="/download/"])
fields: fields:
category: category:
text: other text: other
title: title:
selector: td.topic_head selector: h2.titles
details: details:
selector: td.topic_content a # new cards do not have details page links
attribute: href text: /
download: download:
selector: td.topic_content a selector: a[href^="/download/"]
attribute: href attribute: href
banner: banner:
selector: img selector: img
attribute: src attribute: src
optional: true
description: description:
selector: pre.imgDescription selector: pre.imgDescription
filters: filters: