From 290ec2b74f25aa90aef4d2340d3b390ae115f07c Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 10 May 2022 17:54:47 +1200 Subject: [PATCH] rutor: add imdb search. resolves #11107 --- src/Jackett.Common/Definitions/rutor.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Definitions/rutor.yml b/src/Jackett.Common/Definitions/rutor.yml index b5dd68974..831cccbd2 100644 --- a/src/Jackett.Common/Definitions/rutor.yml +++ b/src/Jackett.Common/Definitions/rutor.yml @@ -37,8 +37,8 @@ caps: modes: search: [q] - tv-search: [q] - movie-search: [q] + tv-search: [q, season, ep, imdbid] + movie-search: [q, imdbid] music-search: [q] settings: @@ -66,8 +66,10 @@ settings: search: paths: - # http://rutor.info/search/0/0/100/0/gotham%2004x01 - - path: "{{ if .Keywords }}search/0/0/100/{{ .Config.sort }}/{{ .Keywords }}/{{ else }}top/{{ end }}" + # http://rutor.info/search/0/0/010/0/tt10288566 # search title and descr for imdb + # http://rutor.info/search/0/0/100/0/gotham%2004x01 # search title for query + # http://rutor.info/top/ # search keywordless + - path: "{{ if .Query.IMDBID }}search/0/0/010/{{ .Config.sort }}/{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if .Keywords }}search/0/0/100/{{ .Config.sort }}/{{ .Keywords }}/{{ else }}{{ end }}{{ if or .Keywords .Query.IMDBID }}{{ else }}top/{{ end }}" rows: selector: tr:has(td:has(a.downgif))