mirror of
https://github.com/Jackett/Jackett
synced 2024-12-27 02:09:24 +00:00
The Pirate Bay: add parent + sub category
This commit is contained in:
parent
772709d46c
commit
a5e2e6ef60
1 changed files with 7 additions and 1 deletions
|
@ -100,7 +100,13 @@
|
|||
rows:
|
||||
selector: "#searchResult tbody tr:has(td.vertTh)"
|
||||
fields:
|
||||
category:
|
||||
category: # parent category
|
||||
selector: td:nth-child(1) a:first-child
|
||||
attribute: href
|
||||
filters:
|
||||
- name: split
|
||||
args: [ "/", -1 ]
|
||||
category: # sub category
|
||||
selector: td:nth-child(1) a:last-child
|
||||
attribute: href
|
||||
filters:
|
||||
|
|
Loading…
Reference in a new issue