diff --git a/README.md b/README.md index fe6e9255c..c32121f45 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * AniDUB * AnimeLayer * ArenaBG + * Best-Torrents [PAY2DL] * BitMagnet (Local DHT) [[site](https://github.com/bitmagnet-io/bitmagnet)] * BookTracker * BootyTape @@ -385,7 +386,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * HDSky [![(invite needed)][inviteneeded]](#) * HDT-LaFenice * HDtime - * HDTorrents.it [![(invite needed)][inviteneeded]](#) + * HDTorrents.it [PAY2DL] * HDTurk * HDU * hdvbits diff --git a/src/Jackett.Common/Definitions/best-torrents.yml b/src/Jackett.Common/Definitions/best-torrents.yml new file mode 100644 index 000000000..e24aa7eb4 --- /dev/null +++ b/src/Jackett.Common/Definitions/best-torrents.yml @@ -0,0 +1,120 @@ +--- +id: best-torrents +name: Best-Torrents +description: "Best-Torrents is a POLISH Semi-Private PAY2DL Torrent Tracker for MOVIES / TV / GENERAL" +language: pl-PL +type: semi-private +encoding: UTF-8 +links: + - https://best-torrents.com/ + +caps: + categorymappings: + - {id: 774, cat: Movies, desc: Filmy Polskie} + - {id: 642, cat: Movies, desc: Filmy/Bajki} + - {id: 1, cat: Movies/SD, desc: Filmy XviD/DivX} + - {id: 20, cat: Movies/DVD, desc: Filmy DVD} + - {id: 23, cat: Movies/HD, desc: Filmy x264} + - {id: 573, cat: Movies/UHD, desc: Filmy 4K UHD} + - {id: 17, cat: Movies/HD, desc: Filmy HD} + - {id: 265, cat: Movies/HD, desc: Filmy x265 HEVC} + - {id: 12, cat: Movies/3D, desc: Filmy 3D} + - {id: 530, cat: Movies/SD, desc: Filmy TS/CAM} + - {id: 9, cat: PC, desc: Programy} + - {id: 7, cat: Console, desc: Konsole} + - {id: 6, cat: PC/Games, desc: Gry} + - {id: 5, cat: Audio, desc: Muzyka} + - {id: 305, cat: Audio/Video, desc: Teledyski} + - {id: 22, cat: TV, desc: TV} + - {id: 228, cat: XXX, desc: Erotyka} + - {id: 25, cat: Books/EBook, desc: Książki} + - {id: 739, cat: Audio/Audiobook, desc: AudioBooki} + - {id: 26, cat: Books/Comics, desc: Komiksy} + - {id: 27, cat: PC/Mac, desc: Linux/Mac} + - {id: 28, cat: TV/Sport, desc: Sport} + - {id: 29, cat: TV/Anime, desc: Anime} + - {id: 31, cat: PC/Mobile-Other, desc: GSM/PDA} + - {id: 32, cat: Other, desc: Inne} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + +login: + path: takelogin.php + method: post + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + error: + - selector: td.komunikaty:contains("Nazwa użytkownika bądź hasło jest nieprawidłowe") + test: + path: / + selector: a[href$="/logout.php"] + +search: + # https://best-torrents.com/szukaj.php?search=%25&cat=774&full_name=no + paths: + - path: szukaj.php + inputs: + # does not appear to support multi category searches + cat: 0 + # no, 0 Standard mode, 1 Initial mode, 2 Full Phrase mode, 3 Final mode + full_name: no + search: "{{ if .Keywords }}{{ .Keywords }}{{ else }}%{{ end }}" + + rows: + selector: div#torrents_browse-standard-all + + fields: + categorydesc: + selector: div#torrents_browse-standard-category a + attribute: href + filters: + - name: regexp + args: kategorii/(.+?)/gatunku + title: + selector: div#torrents_browse-standard-torrent-name a + details: + selector: div#torrents_browse-standard-torrent-name a + attribute: href + download: + selector: div#torrents_browse-standard-download a + attribute: href + poster: + selector: div#torrents_browse-standard-poster img + attribute: src + date: + selector: div#torrents_browse-standard-time + remove: b + filters: + - name: append + args: " +01:00" # CET + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + size: + selector: div#torrents_browse-standard-size + remove: b + filters: + - name: regexp + args: (\d{1,4}\.\d{2}\s+?[T|G|M|k]B) + seeders: + selector: div#torrents_browse-standard-seeds span font + leechers: + selector: div#torrents_browse-standard-peers span font + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a