1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-25 07:32:38 +00:00

microbit: add imdbid search support. #4859

This commit is contained in:
Garfield69 2020-03-21 09:50:06 +13:00
parent aac2e42f9e
commit 869b09f574
3 changed files with 12 additions and 9 deletions

View file

@ -133,6 +133,7 @@
active: 0
order: "{{ .Config.sort }}"
by: "{{ .Config.type }}"
# does not support imdbid searches and does not return imdb link in results
rows:
selector: div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])

View file

@ -178,6 +178,7 @@
langue: 0
# freeleech oui (yes) non (no) peuimporte (ignore)
tl: peuimporte
# does not support imdbid searches and does not return imdb link in results
rows:
selector: tr:has(a[onmouseover])

View file

@ -39,9 +39,9 @@
- {id: 10, cat: Audio/MP3, desc: "Zene/MP3"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
search: [q, imdbid]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
settings:
- name: username
@ -87,14 +87,15 @@
- path: browse.php
inputs:
$raw: "{{ range .Categories }}cat[]={{.}}&{{end}}"
search: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
searchOpened: 1
# 0 title 1 descr 2 uploader
searchWhat: 0
searchWhat: "{{ if .Query.IMDBID }}1{{else}}0{{end}}"
# 0 active 1 active&dead 2 dead 3 dl multiplier 4 ul multiplier 5 dl&ul multiplier 6 bad torrent 7 unverified torrent 8 my torrent
filterOptions: 1
orderby: "{{ .Config.sort }}"
ordertype: "{{ .Config.type }}"
# does not return imdb link in results
rows:
selector: table.torrentList > tbody > tr:has(a[href^="download.php?id="]), table.torrentList > tbody > tr:has(td[onclick^="window.location='download.php?id="])
@ -151,4 +152,4 @@
filters:
- name: regexp
args: (\d+)
# engine n/a
# custom 3.0