1
0
Fork 0
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:
kaso17 2018-04-10 14:49:19 +02:00
parent 772709d46c
commit a5e2e6ef60

View file

@ -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: