mirror of https://github.com/Jackett/Jackett
tvroad: cat can be missing
since the site does not allow for category searches, we can create a dummy cat to avoid an error for the row in the logs.
This commit is contained in:
parent
7de0f550cc
commit
70b1d1d0e4
|
@ -119,6 +119,7 @@ caps:
|
|||
- {id: tvreal-fr-sd-web-non, cat: TV/SD, desc: "TvReal FR SD WEB-DL"}
|
||||
- {id: tvreal-fr-sd-web-pack, cat: TV/SD, desc: "TvReal FR SD Pack WEB-DL"}
|
||||
- {id: tvreal-fr-2160-web-pack, cat: TV/UHD, desc: "TvReal FR 2160p Pack WEB-DL"}
|
||||
- {id: other, cat: TV, desc: "Other - category was not specified"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
@ -184,6 +185,8 @@ search:
|
|||
category:
|
||||
selector: a[href*="/SousCategories/"]
|
||||
attribute: href
|
||||
optional: true
|
||||
default: other
|
||||
filters:
|
||||
- name: split
|
||||
args: ["/", -1]
|
||||
|
|
Loading…
Reference in New Issue