mirror of
https://github.com/Jackett/Jackett
synced 2024-12-29 11:17:22 +00:00
topnow: new layout #8199
This commit is contained in:
parent
a780b7a678
commit
5f5b9afc64
1 changed files with 16 additions and 12 deletions
|
@ -21,32 +21,36 @@
|
|||
|
||||
settings: []
|
||||
|
||||
download:
|
||||
selector: a#torrent
|
||||
attribute: href
|
||||
|
||||
search:
|
||||
paths:
|
||||
# http://topnow.se/search.php?dayq=mandalorian
|
||||
- path: search.php
|
||||
# https://topnow.se/index.php?search=
|
||||
- path: index.php
|
||||
inputs:
|
||||
dayq: "{{.Keywords}}"
|
||||
search: "{{ .Keywords }}"
|
||||
keywordsfilters:
|
||||
# the site uses % for wildcard
|
||||
- name: re_replace
|
||||
args: ["[^a-zA-Z0-9]+", "%"]
|
||||
|
||||
rows:
|
||||
selector: table.topic_table
|
||||
# old cards do not have a download link
|
||||
selector: table.each_card_table:has(a[href^="/download/"])
|
||||
|
||||
fields:
|
||||
category:
|
||||
text: other
|
||||
title:
|
||||
selector: td.topic_head
|
||||
selector: h2.titles
|
||||
details:
|
||||
selector: td.topic_content a
|
||||
attribute: href
|
||||
# new cards do not have details page links
|
||||
text: /
|
||||
download:
|
||||
selector: td.topic_content a
|
||||
selector: a[href^="/download/"]
|
||||
attribute: href
|
||||
banner:
|
||||
selector: img
|
||||
attribute: src
|
||||
optional: true
|
||||
description:
|
||||
selector: pre.imgDescription
|
||||
filters:
|
||||
|
|
Loading…
Reference in a new issue