diff --git a/src/Jackett.Common/Definitions/thepiratebay.yml b/src/Jackett.Common/Definitions/thepiratebay.yml index e5e5a8189..bd1c25017 100644 --- a/src/Jackett.Common/Definitions/thepiratebay.yml +++ b/src/Jackett.Common/Definitions/thepiratebay.yml @@ -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: