mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
attv: handle missing category. resolves #7110
This commit is contained in:
parent
e215870735
commit
574bd29108
1 changed files with 7 additions and 0 deletions
|
@ -132,6 +132,13 @@
|
|||
- name: re_replace
|
||||
args: ["( torrent)$", ""]
|
||||
category:
|
||||
optional: true
|
||||
selector: td:nth-child(1):contains("-")
|
||||
filters:
|
||||
- name: replace #7110 provide default for missing category
|
||||
args: ["-", "78"]
|
||||
category:
|
||||
optional: true
|
||||
selector: a[href^="/torrents.php?cat="]
|
||||
attribute: href
|
||||
filters:
|
||||
|
|
Loading…
Reference in a new issue