From c770f618372b50f814315a120ef1d956c342c350 Mon Sep 17 00:00:00 2001 From: "Guillaume Maury (giom)" <> Date: Fri, 20 Oct 2023 01:08:53 +0800 Subject: [PATCH] Added support for imdbid, changed descriptions to include all tags instead of copying Genre --- definitions/v7/cathoderaytube.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/definitions/v7/cathoderaytube.yml b/definitions/v7/cathoderaytube.yml index 9631de67f..6759fa374 100644 --- a/definitions/v7/cathoderaytube.yml +++ b/definitions/v7/cathoderaytube.yml @@ -18,8 +18,8 @@ caps: modes: search: [q] - tv-search: [q, season, ep, genre] - movie-search: [q, genre] + tv-search: [q, season, ep, genre, imdbid] + movie-search: [q, genre, imdbid] settings: - name: info_2fa @@ -76,7 +76,7 @@ search: - path: torrents.php inputs: $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" - searchtext: "{{ .Keywords }}" + searchtext: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" order_by: "{{ .Config.sort }}" order_way: "{{ .Config.type }}" action: advanced @@ -128,7 +128,7 @@ search: - name: validate args: "Action, Adventure, Animation, Comedy, Crime, Documentary, Drama, Family, Fantasy, History, Horror, Kids, Music, Mystery, News, Reality, Romance, SciFi, Soap, Talk, Thriller, War, Western" description: - text: "{{ .Result.genre }}" + selector: div.tags poster: selector: td:nth-child(2) > script filters: