diff --git a/src/Jackett.Common/Definitions/bithorlo.yml b/src/Jackett.Common/Definitions/bithorlo.yml index f600b7c9b..9b2333ace 100644 --- a/src/Jackett.Common/Definitions/bithorlo.yml +++ b/src/Jackett.Common/Definitions/bithorlo.yml @@ -63,6 +63,22 @@ type: info label: How to get the Cookie default: "
  1. Login to this tracker in your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button
  5. Refresh the page by pressing F5
  6. Select the Headers tab
  7. Find 'cookie:' in the Request Headers section
  8. Copy & paste the whole cookie string to here
" + - name: sort + type: select + label: Sort requested from site + default: "4" + options: + "4": "created" + "7": "seeders" + "5": "size" + "1": "title" + - name: type + type: select + label: Order requested from site + default: "desc" + options: + "desc": "desc" + "asc": "asc" login: method: cookie @@ -73,33 +89,15 @@ paths: - path: browse.php inputs: - $raw: "{{range .Categories}}c{{.}}=1&{{end}}" + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" search: "{{ .Keywords }}" + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + rows: selector: tr[class^="browse"] + fields: - download: - selector: a[href^="download.php?id="] - attribute: href - title: - selector: a[href^="torrent.php?id="] - attribute: title - banner: - optional: true - selector: a[href^="torrent.php?id="][onmouseover] - attribute: onmouseover - filters: - - name: regexp - args: ", '(.*)'" - downloadvolumefactor: - case: - img[title="Ingyenes letöltés"]: "0" - "*": "1" - uploadvolumefactor: - selector: span:contains("Feltöltési szorzó") - filters: - - name: replace - args: ["Feltöltési szorzó × ", ""] category: selector: a[href^="browse.php?cat="] attribute: href @@ -107,9 +105,22 @@ - name: querystring args: cat - name: trim # some torrents have an extra space + title: + selector: a[href^="torrent.php?id="] + attribute: title details: selector: a[href^="torrent.php?id="] attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + banner: + optional: true + selector: a[href^="torrent.php?id="][onmouseover] + attribute: onmouseover + filters: + - name: regexp + args: ", '(.*)'" size: selector: td:nth-child(4) grabs: @@ -120,3 +131,12 @@ selector: td:nth-child(7) date: selector: "a[style=\"font-size: 8pt;cursor: pointer;\"][title]" + downloadvolumefactor: + case: + img[title="Ingyenes letöltés"]: "0" + "*": "1" + uploadvolumefactor: + selector: span:contains("Feltöltési szorzó") + filters: + - name: replace + args: ["Feltöltési szorzó × ", ""]