diff --git a/src/Jackett.Common/Definitions/prostylex.yml b/src/Jackett.Common/Definitions/prostylex.yml index 7288917e5..62051535f 100644 --- a/src/Jackett.Common/Definitions/prostylex.yml +++ b/src/Jackett.Common/Definitions/prostylex.yml @@ -21,10 +21,13 @@ - {id: 7, cat: Movies/3D, desc: "Movies - 3D"} - {id: 8, cat: Movies/UHD, desc: "Movies - 4K"} - {id: 9, cat: Movies/Other, desc: "Movies - Dubs/Dual Audio"} + - {id: 10, cat: Movies/HD, desc: "Movies - HEVC/x265"} - {id: 12, cat: TV/WEB-DL, desc: "TV - x264"} - {id: 13, cat: TV/SD, desc: "TV - Xvid"} - {id: 14, cat: TV/HD, desc: "TV - HD"} - {id: 15, cat: TV/OTHER, desc: "TV - Packs"} + - {id: 16, cat: TV/Sport, desc: "TV - Sports"} + - {id: 17, cat: TV/HD, desc: "TV - HEVC/x265"} - {id: 20, cat: Audio/MP3, desc: "Music - Audio"} - {id: 21, cat: Audio/Video, desc: "Music - Video"} - {id: 22, cat: Audio/Other, desc: "Music - Other"} @@ -42,6 +45,7 @@ - {id: 58, cat: Other, desc: "Pictures - Other"} - {id: 59, cat: Other, desc: "Pictures - Wallpapers"} - {id: 65, cat: TV/Anime, desc: "Anime - All"} + - {id: 68, cat: TV/Anime, desc: "Anime - HEVC/x265"} - {id: 90, cat: PC/ISO, desc: "Games - PC-ISO"} - {id: 91, cat: Console, desc: "Games - PS2"} - {id: 92, cat: Console/PSP, desc: "Games - PSP"} @@ -52,12 +56,14 @@ - {id: 97, cat: Console/Wii, desc: "Games - Wii"} - {id: 98, cat: Console/NDS, desc: "Games - Nintendo DS"} - {id: 99, cat: PC/Phone-Android, desc: "Games - Android"} + - {id: 103, cat: Console, desc: "Games - Switch"} - {id: 120, cat: PC/0day, desc: "Apps - Windows"} - {id: 121, cat: PC, desc: "Apps - Linux"} - {id: 122, cat: PC/Phone-Android, desc: "Apps - Android"} - {id: 123, cat: PC/Mac, desc: "Apps - Mac"} - {id: 124, cat: PC, desc: "Apps - Other"} - {id: 130, cat: Other, desc: "Other - Other"} + - {id: 132, cat: Other, desc: "Other - Nulled Script"} - {id: 134, cat: Other, desc: "Other - Tutorials"} modes: @@ -65,19 +71,43 @@ tv-search: [q, season, ep] movie-search: [q] - settings: [] + settings: + - name: sort + type: select + label: Sort requested from site + default: "id" + options: + "id": "created" + "seeders": "seeders" + "size": "size" + "name": "title" + - name: type + type: select + label: Order requested from site + default: "desc" + options: + "desc": "desc" + "asc": "asc" download: selector: a[href^="magnet:?"] search: paths: - # http://prostylex.com/torrents-search.php?search= - # http://prostylex.com/torrents-search.php?c1=1&c2=1&c3=1&search=expanse&cat=0&incldead=0&freeleech=0&inclexternal=0&lang=0 - - path: "torrents-search.php?{{range .Categories}}c{{.}}=1&{{end}}{{if .Keywords}}&search={{ .Keywords}}&cat=0&incldead=0&freeleech=0&inclexternal=0&lang=0{{else}}search={{end}}" + # http://prostylex.org/torrents-search.php?search= + # http://prostylex.org/torrents-search.php?c1=1&c2=1&c3=1&search=expanse&lang=0&cat=0 + - path: torrents-search.php + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + cat: 0 + lang: 0 + sort: "{{ .Config.sort }}" + order: "{{ .Config.type }}" + rows: - # selector: tr:has(a[href^="/torrent/"]) selector: tr.t-row + fields: title: selector: td a[href^="torrents-details.php?id="] @@ -104,6 +134,6 @@ leechers: selector: th:nth-child(7) downloadvolumefactor: - text: "0" + text: 0 uploadvolumefactor: - text: "1" + text: 1