diff --git a/src/Jackett.Common/Definitions/chdbits.yml b/src/Jackett.Common/Definitions/chdbits.yml index c155a9c15..da8abb749 100644 --- a/src/Jackett.Common/Definitions/chdbits.yml +++ b/src/Jackett.Common/Definitions/chdbits.yml @@ -82,6 +82,11 @@ login: path: torrents.php selector: a[href*="logout.php"] +download: + selectors: + - selector: a[href^="download.php?id="] + attribute: href + search: paths: - path: torrents.php @@ -120,19 +125,11 @@ search: selector: a[href^="details.php?id="] attribute: href download: - selector: a[href^="download.php?id="] + selector: a[href^="details.php?id="] attribute: href - size: - selector: td:nth-child(5) - grabs: - selector: td:nth-child(8) - seeders: - selector: td:nth-child(6) - leechers: - selector: td:nth-child(7) date_elapsed: # time type: time elapsed (default) - selector: td:nth-child(4) > span[title] + selector: td:nth-child(3) > span[title] attribute: title optional: true filters: @@ -142,7 +139,7 @@ search: args: "yyyy-MM-dd HH:mm:ss zzz" date_added: # time added - selector: td:nth-child(4):not(:has(span)) + selector: td:nth-child(3):not(:has(span)) optional: true filters: - name: append @@ -151,6 +148,14 @@ search: args: "yyyy-MM-ddHH:mm:ss zzz" date: text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}" + size: + selector: td:nth-child(4) + seeders: + selector: td:nth-child(5) + leechers: + selector: td:nth-child(6) + grabs: + selector: td:nth-child(7) downloadvolumefactor: case: img.pro_free: 0 @@ -168,4 +173,4 @@ search: description: selector: td:nth-child(2) remove: a, b, font, img, span -# NexusPHP 73f201530b 2023-08-07 +# NexusPHP Standard v1.5 Beta 4