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:
parent
aac2e42f9e
commit
869b09f574
3 changed files with 12 additions and 9 deletions
|
@ -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="])
|
||||
|
|
|
@ -174,10 +174,11 @@
|
|||
type: tout
|
||||
# searchin nomtorrent (name) or desctorrent (descr)
|
||||
endroit: nomtorrent
|
||||
# language 0 all 2 english
|
||||
# language 0 all 2 english
|
||||
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])
|
||||
|
@ -186,7 +187,7 @@
|
|||
category:
|
||||
selector: a[href*="/SousCategories/"]
|
||||
attribute: href
|
||||
filters:
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (\d+)$
|
||||
title:
|
||||
|
@ -211,7 +212,7 @@
|
|||
selector: a[onmouseover] font[color="#F2F2F2"]
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "Il y a (.*?)\\s-"
|
||||
args: "Il y a (.*?)\\s-"
|
||||
- name: replace
|
||||
args: ["heures", "hours"]
|
||||
- name: replace
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue