Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRT - Added support for imdbid, changed descriptions to include all tags #381

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions definitions/v7/cathoderaytube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
mynameisbogdan marked this conversation as resolved.
Show resolved Hide resolved

settings:
- name: info_2fa
Expand Down Expand Up @@ -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 }}"
mynameisbogdan marked this conversation as resolved.
Show resolved Hide resolved
order_by: "{{ .Config.sort }}"
order_way: "{{ .Config.type }}"
action: advanced
Expand Down Expand Up @@ -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:
Expand Down