diff --git a/src/Jackett.Common/Definitions/ast4u.yml b/src/Jackett.Common/Definitions/ast4u.yml index e27c2adb2..0dafddd30 100644 --- a/src/Jackett.Common/Definitions/ast4u.yml +++ b/src/Jackett.Common/Definitions/ast4u.yml @@ -53,7 +53,7 @@ settings: - name: info type: info label: Results Per Page - default: For best results, change the 'Torrentliste' setting to "Platzsparendes Layout mit PopUp für zusätzliche Informationen" in your profile. + default: For best results, change the Torrentliste setting to Platzsparendes Layout mit PopUp für zusätzliche Informationen in your profile. login: path: takelogin.php @@ -70,13 +70,14 @@ search: - path: browse.php inputs: $raw: "{{range .Categories}}c{{.}}=1&{{end}}" - search: "{{ .Query.Keywords }}" - incldead: "0" - orderby: "added" - sort: "desc" + search: "{{ .Keywords }}" + incldead: 0 + orderby: added + sort: desc rows: selector: table.tableinborder > tbody > tr:has(a[href^="details.php"]) + fields: # note: two alternative layouts available title: selector: a[href^="details.php"] @@ -117,15 +118,15 @@ search: - name: replace args: [" ", ""] - name: append - args: " +2:00" + args: " +2:00" # EET - name: replace args: ["\xA0", ""] - name: dateparse args: "02.01.200615:04:05 -07:00" downloadvolumefactor: case: - img[src="/pic/free.gif"]: "0" - "*": "1" + img[src="/pic/free.gif"]: 0 + "*": 1 uploadvolumefactor: - case: - "*": "1" + text: 1 +# engine tbd diff --git a/src/Jackett.Common/Definitions/asylumshare.yml b/src/Jackett.Common/Definitions/asylumshare.yml index 36ff6fe24..5e9dc74cb 100644 --- a/src/Jackett.Common/Definitions/asylumshare.yml +++ b/src/Jackett.Common/Definitions/asylumshare.yml @@ -205,7 +205,7 @@ search: - name: regexp args: "(\\d{2}\\/\\d{2}\\/\\d{2} \\d{2}:\\d{2}:\\d{2})" - name: append - args: " -03:00" + args: " -03:00" # BRT - name: dateparse args: "02/01/06 15:04:05 -07:00" size: diff --git a/src/Jackett.Common/Definitions/backups.yml b/src/Jackett.Common/Definitions/backups.yml index 8c86bda2d..73c9019d9 100644 --- a/src/Jackett.Common/Definitions/backups.yml +++ b/src/Jackett.Common/Definitions/backups.yml @@ -65,17 +65,25 @@ search: - name: re_replace args: ["(?:^|\\s)[_\\+\\/\\.\\-\\(\\)]*[\\S]{0,3}[_\\+\\/\\.\\-\\(\\)]*(?:\\s|$)", " "] inputs: - do: "search" + do: search keywords: "{{ .Keywords }}" - search_type: "t_name" - category: "0" # multi cat search not supported - include_dead_torrents: "yes" + search_type: t_name + category: 0 # multi cat search not supported + include_dead_torrents: yes + rows: selector: table#sortabletable > tbody > tr:has(a[href*="/details.php?id="]) filters: - name: andmatch args: 66 + fields: + category: + selector: a[href*="/browse.php?category="] + attribute: href + filters: + - name: querystring + args: category title: selector: a[href*="/details.php?id="] title: @@ -90,12 +98,6 @@ search: magnet: selector: a[href^="magnet:?xt="] attribute: href - category: - selector: a[href*="/browse.php?category="] - attribute: href - filters: - - name: querystring - args: category size: selector: td:nth-child(5) grabs: @@ -109,7 +111,7 @@ search: remove: span filters: - name: append - args: " +00:00" + args: " +00:00" # GMT - name: dateparse args: "02-01-2006 15:04 -07:00" poster: @@ -118,9 +120,9 @@ search: attribute: src downloadvolumefactor: case: - img[alt^="Free Torrent "]: "0" - img[alt^="Silver Torrent "]: "0.5" - "*": "1" + img[alt^="Free Torrent "]: 0 + img[alt^="Silver Torrent "]: 0.5 + "*": 1 uploadvolumefactor: - case: - "*": "1" + text: 1 +# engine tbd diff --git a/src/Jackett.Common/Definitions/beitai.yml b/src/Jackett.Common/Definitions/beitai.yml index 730d20ae4..d472b12b3 100644 --- a/src/Jackett.Common/Definitions/beitai.yml +++ b/src/Jackett.Common/Definitions/beitai.yml @@ -114,7 +114,6 @@ search: selector: a[href^="download.php?id="] attribute: href imdb: - optional: true selector: div.imdb_100 > a attribute: href date: @@ -124,7 +123,7 @@ search: optional: true filters: - name: append - args: " +08:00" + args: " +08:00" # CST - name: dateparse args: "2006-01-02 15:04:05 -07:00" date: @@ -133,7 +132,7 @@ search: optional: true filters: - name: append - args: " +08:00" + args: " +08:00" # CST - name: dateparse args: "2006-01-0215:04:05 -07:00" size: diff --git a/src/Jackett.Common/Definitions/bigtower.yml b/src/Jackett.Common/Definitions/bigtower.yml index c06759425..7979d5a66 100644 --- a/src/Jackett.Common/Definitions/bigtower.yml +++ b/src/Jackett.Common/Definitions/bigtower.yml @@ -13,7 +13,6 @@ legacylinks: caps: categorymappings: - # Movies - {id: 11, cat: Movies/HD, desc: "DSS"} - {id: 1, cat: Movies, desc: "Screener"} - {id: 2, cat: Movies, desc: "DVDRip & BDRip"} @@ -21,17 +20,11 @@ caps: - {id: 5, cat: Movies/UHD, desc: "Ultra HD 4K"} - {id: 6, cat: TV, desc: "Serie TV"} - {id: 4, cat: TV/Anime, desc: "Cartoni"} - # GAMES - {id: 7, cat: PC/Games, desc: "Giochi"} - # MUSIC - {id: 8, cat: Audio, desc: "Musica"} - # SOFTWARE - {id: 9, cat: PC/0day, desc: "Software"} - # PHONE - {id: 12, cat: PC/Mobile-Other, desc: "Applicazioni"} - # OTHER - {id: 14, cat: Other, desc: "Varie & Altro"} - # EBOOK - {id: 13, cat: Books, desc: "Libri & Edicola"} modes: @@ -80,7 +73,7 @@ search: active: 0 rows: - selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]){{if .Config.donor }}{{else}}:not(:has(img[src*="keditbookmarks.png"])){{end}} + selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]){{ if .Config.donor }}{{ else }}:not(:has(img[src*="keditbookmarks.png"])){{ end }} fields: download: @@ -115,7 +108,7 @@ search: selector: td:nth-last-child(8) filters: - name: append - args: " +01:00" + args: " +01:00" # CET - name: dateparse args: "02/01/2006 -07:00" grabs: diff --git a/src/Jackett.Common/Definitions/boxingtorrents.yml b/src/Jackett.Common/Definitions/boxingtorrents.yml index d1d8810d4..b25a4bf64 100644 --- a/src/Jackett.Common/Definitions/boxingtorrents.yml +++ b/src/Jackett.Common/Definitions/boxingtorrents.yml @@ -86,7 +86,7 @@ search: # https://tc-boxing.com/browse.php?search=tyson&cat=0&incldead=1 - path: browse.php inputs: - $raw: "{{ if .Categories }}{{ range .Categories }}c{{.}}=1&{{end}}{{else}}cat=0{{end}}" + $raw: "{{ if .Categories }}{{ range .Categories }}c{{.}}=1&{{end}}{{ else }}cat=0{{ end }}" # 1 incldead, null active incldead: 1 # 1 freeleech only, null all diff --git a/src/Jackett.Common/Definitions/btgigs.yml b/src/Jackett.Common/Definitions/btgigs.yml index 692532788..1cddbb3ed 100644 --- a/src/Jackett.Common/Definitions/btgigs.yml +++ b/src/Jackett.Common/Definitions/btgigs.yml @@ -7,17 +7,6 @@ type: private encoding: ISO-8859-2 links: - https://btgigs.info/ -settings: - - name: username - type: text - label: Username - - name: password - type: password - label: Password - - name: lang - type: checkbox - label: Add POLISH to title if is in polish category - default: false caps: categorymappings: @@ -52,6 +41,18 @@ caps: music-search: [q] book-search: [q] +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: lang + type: checkbox + label: Add POLISH to title if is in polish category + default: false + login: path: takelogin_action.php method: post @@ -72,14 +73,22 @@ search: - selector: a.altlink inputs: $raw: "{{range .Categories}}c{{.}}=1&{{end}}" - search: "{{ .Query.Keywords }}" + search: "{{ .Keywords }}" incldead: 1 tyt: 0 lang: 0 subcat: 0 + rows: selector: table[border="1"][cellpadding=5] > tbody > tr:has(a[href^="details.php?id="]) + fields: + category: + selector: a[href^="browse.php?cat="] + attribute: href + filters: + - name: querystring + args: cat is_polish: optional: true selector: img[src*="cat_pl"] @@ -92,16 +101,10 @@ search: - name: append args: " POLISH" title: - text: "{{ if and (.Config.lang) (.Result.is_polish) }}{{ .Result.title_polish }}{{else}}{{ .Result.title_phase1 }}{{end}}" + text: "{{ if and (.Config.lang) (.Result.is_polish) }}{{ .Result.title_polish }}{{ else }}{{ .Result.title_phase1 }}{{ end }}" details: selector: a[href^="details.php?id="] attribute: href - category: - selector: a[href^="browse.php?cat="] - attribute: href - filters: - - name: querystring - args: cat download: selector: a[href^="download.php/"] attribute: href @@ -115,13 +118,13 @@ search: - name: prepend args: "{{ .Result.description }}" imdb: - optional: true selector: a[href*="imdb.com/title/tt"] + attribute: href date: selector: td:nth-child(5) filters: - name: append - args: " +00:00" + args: " +00:00" # auto adjusted by site account profile - name: dateparse args: "2006-01-0215:04:05 -07:00" grabs: @@ -141,4 +144,5 @@ search: "img[src=\"pic/ico_disk2.png\"]": 1 "*": 1 uploadvolumefactor: - text: "1" + text: 1 +# engine tbd diff --git a/src/Jackett.Common/Definitions/btschool.yml b/src/Jackett.Common/Definitions/btschool.yml index dd1a29dcb..931df9967 100644 --- a/src/Jackett.Common/Definitions/btschool.yml +++ b/src/Jackett.Common/Definitions/btschool.yml @@ -94,7 +94,7 @@ search: attribute: title filters: - name: append - args: " +08:00" + args: " +08:00" # CST - name: dateparse args: "2006-01-02 15:04:05 -07:00" size: diff --git a/src/Jackett.Common/Definitions/btsow.yml b/src/Jackett.Common/Definitions/btsow.yml index 604df2332..392cd1a4a 100644 --- a/src/Jackett.Common/Definitions/btsow.yml +++ b/src/Jackett.Common/Definitions/btsow.yml @@ -45,8 +45,10 @@ download: search: paths: - path: "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}" + rows: selector: div.row:has(a[href*="/detail/hash/"]) + fields: category: text: Other