Majomparádé: search all pages

This commit is contained in:
kaso17 2017-02-17 19:48:46 +01:00
parent 4cee32f75c
commit bf9027f6ed
1 changed files with 15 additions and 6 deletions

View File

@ -69,12 +69,21 @@
path: letoltes.php
search:
path: letoltes.php
paths:
- path: letoltes.php
categories: ["!", 70, 39, 57]
inputs:
tipus: "1"
- path: letoltes.php
categories: ["!", 70, 39, 57]
inputs:
tipus: "2"
- path: xxx.php
categories: [70, 39, 57]
inputs:
$raw: "{{range .Categories}}category[]={{.}}&{{end}}"
name: "{{if .Query.IMDBID}}http://www.imdb.com/title/{{ .Query.IMDBID }}{{else}}{{ .Query.Keywords }}{{end}}"
imdb_search: "{{ if .Query.IMDBID }}yes{{else}}{{end}}"
tipus: "1"
k: "yes"
tipuska: "1"
rows:
@ -87,16 +96,16 @@
selector: a[href^="details.php?id="] > b
attribute: title
filters:
- name: regexp
args: "^Torrent neve: (.*?)<br />"
- name: re_replace
args: ["^Torrent neve: ", ""]
- name: re_replace
args: ["<br />.*", ""]
description:
selector: a[href^="details.php?id="] > b
attribute: title
filters:
- name: strdump
- name: regexp
args: "<br />(.*)"
- name: strdump
category:
selector: a[href*="&category[]="]
attribute: href