engine tags. #6822

This commit is contained in:
Garfield69 2020-01-19 10:05:52 +13:00
parent 7b7f600794
commit fa1cedb49d
17 changed files with 52 additions and 27 deletions

View File

@ -55,6 +55,7 @@
rows:
selector: table[class="data"] tr[id]
fields:
category:
optional: true
@ -99,4 +100,4 @@
text: 0
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -91,11 +91,13 @@
search:
paths:
- path: "{{ if .Keywords }}katsearch/page/1/{{ .Keywords }}{{ else }}category/latest/page/1{{ end }}"
- path: "{{ if .Keywords }}katsearch/page/1/{{ .Keywords }}{{else}}category/latest/page/1{{end}}"
rows:
selector: table.torrents_table > tbody > tr
filters:
- name: andmatch
fields:
title:
selector: a.torrents_table__torrent_title b
@ -203,6 +205,7 @@
leechers:
selector: td[data-title="Leech"]
downloadvolumefactor:
text: "0"
text: 0
uploadvolumefactor:
text: "1"
text: 1
# engine n/a

View File

@ -221,3 +221,4 @@
"*": 1
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -102,3 +102,4 @@
text: 0
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -43,8 +43,8 @@
# http://libranet.org/browse.php?cat56=1&cat57=1&search=&searchwhere=&subcat=&musicstyle=&format=
- path: browse.php
inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
search: "{{.Keywords}}"
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
searchwhere: ""
subcat: ""
musicstyle: ""
@ -52,6 +52,7 @@
rows:
selector: table.rounded tr:has(a[href^="browse.php?cat="])
fields:
category:
selector: a[href^="browse.php?cat="]
@ -101,7 +102,7 @@
downloadvolumefactor:
case:
img[src$="/pic/freeleech.gif"]: 0
"*": "1"
"*": 1
uploadvolumefactor:
case:
"*": "1"
text: 1
# TBdev

View File

@ -102,3 +102,4 @@
text: 0
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -25,7 +25,7 @@
paths:
- path: /
inputs:
s: "{{.Keywords}}"
s: "{{ .Keywords }}"
rows:
selector: div.iso-item article:has(a.download)
fields:
@ -57,10 +57,11 @@
size:
text: "500 MB"
seeders:
text: "1"
text: 1
leechers:
text: "1"
text: 1
downloadvolumefactor:
text: "0"
text: 0
uploadvolumefactor:
text: "1"
text: 1
# engine n/a

View File

@ -56,7 +56,7 @@
paths:
# return movie results if there are no search parms supplied (for use with the TEST button)
# http://www.magnetdl.com/m/midnight-texas-s01e10/
- path: "{{if .Keywords}}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/movies/{{end}}{{ .Config.sort }}/{{ .Config.type }}/"
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/movies/{{end}}{{ .Config.sort }}/{{ .Config.type }}/"
rows:
selector: tr:has(td.m)
@ -90,3 +90,4 @@
text: 0
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -205,5 +205,5 @@
img[src="images/tor_silver.gif"]: 0.5
"*": 1
uploadvolumefactor:
case:
"*": 1
text: 1
# Engine n/a

View File

@ -12,9 +12,9 @@
caps:
categories:
"Books": Audio/Audiobook
"Video": Audio/Video
"Music": Audio/MP3
Books: Audio/Audiobook
Video: Audio/Video
Music: Audio/MP3
modes:
search: [q]
@ -64,12 +64,14 @@
- path: torrents/search.html
method: post
inputs:
"SearchTorrentsForm[nameTorrent]": "{{ if .Query.Artist }}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
"SearchTorrentsForm[nameTorrent]": "{{ if or (.Query.Artist) (.Query.Album) }}{{ or (.Query.Artist) (.Query.Album) }}{{else}}{{ .Keywords }}{{end}}"
"SearchTorrentsForm[sort]": "{{ .Config.sort }}"
"SearchTorrentsForm[sortType]": "{{ .Config.type }}"
go-search: Search
rows:
selector: .smallalbum
fields:
title:
selector: a h3
@ -96,11 +98,12 @@
selector: .smallalbum
remove: div.thumb, div.center, a
case:
":contains(\"Type: Music\")": "Music"
":contains(\"Type: Video\")": "Video"
":contains(\"Type: Books\")": "Books"
":contains(\"Type: Music\")": Music
":contains(\"Type: Video\")": Video
":contains(\"Type: Books\")": Books
size:
selector: .smallalbum
filters:
- name: regexp
args: "Size:\\s+([\\w\\d\\.,]+ \\w\\w)"
# engine n/a

View File

@ -173,3 +173,4 @@
description:
selector: td:nth-child(2)
remove: a, img
# NexusPHP Standard v1.5 Beta 5

View File

@ -37,10 +37,12 @@
# https://monova.to/search?term=vikings+s05e05
# https://monova.to/video
- path: "{{if .Keywords}}search?term={{.Keywords}}{{else}}video{{end}}"
rows:
selector: tr.desktop:has(a[href^="//"])
filters:
- name: andmatch
fields:
title:
selector: td.torrent_name a
@ -83,3 +85,4 @@
- name: replace
args: ["min.","minutes"]
- name: timeago
# engine n/a

View File

@ -27,11 +27,13 @@
search:
paths:
- path: "{{if .Keywords}}search/search.php?q={{ .Keywords}}{{else}}/{{end}}"
- path: "{{ if .Keywords }}search/search.php?q={{ .Keywords }}{{else}}/{{end}}"
rows:
selector: tr:has(td.name a[href^="/download-"])
filters:
- name: andmatch
fields:
category:
text: other
@ -72,6 +74,7 @@
- name: split
args: ["/", 1]
downloadvolumefactor:
text: "0"
text: 0
uploadvolumefactor:
text: "1"
text: 1
# engine n/a

View File

@ -61,3 +61,4 @@
text: 0
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -142,3 +142,4 @@
text: 0
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -117,6 +117,7 @@
options:
"DESC": "desc"
"ASC": "asc"
login:
path: index.php?act=Login&CODE=00
method: form
@ -194,3 +195,4 @@
text: 0
uploadvolumefactor:
text: 1
# Invision Power Board

View File

@ -195,3 +195,4 @@
text: 0
uploadvolumefactor:
text: 1
# Invision Power Board