Skip to content

Commit

Permalink
aussierules: standardise yaml, and move to Definitions. Fix #11426 for
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Mar 28, 2021
1 parent b36dd38 commit 054d4d1
Showing 1 changed file with 19 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ settings:
- name: type
label: Search Type
type: select
default: Torrent Name
default: t_name
options:
t_name: Torrent Name
t_description: Torrent Description
Expand All @@ -37,8 +37,8 @@ settings:
type: select
default: No
options:
yes: yes
No: No
yes: Yes
no: No

login:
method: form
Expand All @@ -54,7 +54,11 @@ login:

search:
paths:
- path: "browse.php?search_type={{ .Config.type }}&include_dead_torrents={{ .Config.dead }}&keywords={{ .Keywords }}"
- path: browse.php
inputs:
search_type: "{{ .Config.type }}"
include_dead_torrents: "{{ .Config.dead }}"
keywords: "{{ .Keywords }}"

rows:
selector: table#sortabletable > tbody > tr:not(:first-child)
Expand All @@ -64,24 +68,24 @@ search:
text: 1
title:
selector: td:nth-child(2) > div:nth-child(1) > a > strong
details:
selector: td:nth-child(2) > div:nth-child(1) > a
attribute: href
download:
selector: a[href*="download.php?id="]
attribute: href
date:
# 27-03-2021 18:34
selector: td:nth-child(2) > div:nth-child(2)
filters:
- name: dateparse
args: "2-01-2006 15:04"
download:
selector: a[href*="download.php?id="]
attribute: href
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
grabs:
selector: td:nth-child(6)
size:
selector: td:nth-child(5)
details:
selector: td:nth-child(2) > div:nth-child(1) > a
attribute: href
# engine n/a
# TS Special Edition v.7.4

0 comments on commit 054d4d1

Please sign in to comment.