diff --git a/src/Jackett.Common/Definitions/bitbazis.yml b/src/Jackett.Common/Definitions/bitbazis.yml index 0931cc65f..594281f06 100644 --- a/src/Jackett.Common/Definitions/bitbazis.yml +++ b/src/Jackett.Common/Definitions/bitbazis.yml @@ -65,6 +65,10 @@ settings: type: info label: How to get the Cookie default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" + - name: freeleech + type: checkbox + label: Filter freeleech only + default: false - name: sort type: select label: Sort requested from site @@ -83,7 +87,7 @@ settings: - name: info_tpp type: info label: Results Per Page - default: For best results, change the Torrentek száma egy oldalon: setting to 100 on your account profile. + default: For best results, change the Torrentek száma egy oldalon: setting to 50 on your account profile. login: method: cookie @@ -96,21 +100,24 @@ login: search: paths: - path: browse.php + categories: ["!", 33, 66, 99] + - path: browse_xxx.php + categories: [33, 66, 99] inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" search: "{{ .Keywords }}" - # 0 active, 1 all, 2 deadonly, 3 myuploads, 4 zeroseed - incldead: 1 + # 0 all, 1 active, 2 deadonly, 3 myuploads, 4 zeroseed, 6 re-seeded + incldead: 0 sort: "{{ .Config.sort }}" type: "{{ .Config.type }}" - # site does not support imdbid searching or appear to have freeleech + # site does not support imdbid searching rows: - selector: table[width="100%"]:last-child tbody tr:has(a[href^="userdetails.php?id="]):has(a[href^="download.php?torrent="]) + selector: "table[width=\"100%\"]:last-child tbody tr:has(a[href^=\"userdetails.php?id=\"]):has(a[href^=\"download.php?torrent=\"]){{ if .Config.freeleech }}:has(i:contains(\"(Free)\")){{ else }}{{ end }}, table[width=\"100%\"]:last-child tbody tr:has(a[href^=\"userdetails.php?id=\"]):has(input[onclick*=\"download.php?torrent=\"]){{ if .Config.freeleech }}:has(i:contains(\"(Free)\")){{ else }}{{ end }}" fields: category: - selector: a[href^="browse.php?cat="] + selector: a[href*=".php?cat="] attribute: href filters: - name: querystring @@ -124,19 +131,43 @@ search: poster: selector: a.preview attribute: href - download: + download1: selector: a[href^="download.php?torrent="] + optional: true attribute: href + download2: + selector: input[onclick*="download.php?torrent="] + optional: true + attribute: onclick + filters: + - name: replace + args: ["window.open('", ""] + - name: replace + args: ["', '_self');", ""] + download: + text: "{{ if or .Result.download1 .Result.download2 }}{{ or .Result.download1 .Result.download2 }}{{ else }}{{ end }}" size: selector: td:nth-child(6) - date: + date_browse: # 2022
03/15. - selector: td:nth-child(7) + selector: td:nth-child(7):contains("/") + optional: true filters: - name: append args: " +01:00" # CET - name: dateparse args: "200601/02. -07:00" + date_browse_xxx: + # 22.03.15 + selector: td:nth-child(7):not(:contains("/")) + optional: true + filters: + - name: append + args: " +01:00" # CET + - name: dateparse + args: "06.01.02 -07:00" + date: + text: "{{ if or .Result.date_browse .Result.date_browse_xxx }}{{ or .Result.date_browse .Result.date_browse_xxx }}{{ else }}now{{ end }}" grabs: selector: td:nth-child(5) seeders: