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
1 changed files with 7 additions and 1 deletions

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: