From 53d604201106939958d4cb892efec91ccc05f65c Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 19 Apr 2020 16:29:19 +1200 Subject: [PATCH] add sktorrent-org a semi-private site. resolves #8222 --- README.md | 1 + .../Definitions/sktorrent-org.yml | 144 ++++++++++++++++++ 2 files changed, 145 insertions(+) create mode 100644 src/Jackett.Common/Definitions/sktorrent-org.yml diff --git a/README.md b/README.md index 8730212bf..bb8374c0d 100644 --- a/README.md +++ b/README.md @@ -195,6 +195,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Rustorka * Sharewood * SkTorrent + * SkTorrent-org * SoundPark * Toloka.to * Torrent-Explosiv diff --git a/src/Jackett.Common/Definitions/sktorrent-org.yml b/src/Jackett.Common/Definitions/sktorrent-org.yml new file mode 100644 index 000000000..85e50d36b --- /dev/null +++ b/src/Jackett.Common/Definitions/sktorrent-org.yml @@ -0,0 +1,144 @@ +--- + site: sktorrent-org + name: SkTorrent-org + description: "SkTorrent.org is a Semi-Private torrent site for MOVIES / TV/ GENERAL" + language: en-us + type: semi-private + encoding: UTF-8 + links: + - https://sktorrent.org/ + + caps: + categorymappings: + - {id: 47, cat: PC/Phone-Android, desc: "Application - Android"} + - {id: 19, cat: PC/Mac, desc: "Application - Mac"} + - {id: 21, cat: PC/Phone-Other, desc: "Application - Other"} + - {id: 18, cat: PC/0day, desc: "Application - PC"} + - {id: 61, cat: Audio/Audiobook, desc: "Audio - Audio books"} + - {id: 63, cat: Audio/Lossless, desc: "Audio - Flac"} + - {id: 60, cat: Audio, desc: "Audio - Music"} + - {id: 64, cat: Audio/Other, desc: "Audio - Other"} + - {id: 9, cat: TV/Documentary, desc: "Documentaries - Other"} + - {id: 65, cat: Console/Other, desc: "Games - Android"} + - {id: 66, cat: Console/Other, desc: "Games - Other"} + - {id: 10, cat: PC/Games, desc: "Games - PC"} + - {id: 11, cat: Console/PS3, desc: "Games - PSX"} + - {id: 13, cat: Console/Xbox 360, desc: "Games - Xbox360"} + - {id: 49, cat: Movies/3D, desc: "Movies - 3D"} + - {id: 48, cat: Movies/BluRay, desc: "Movies - Blu-ray"} + - {id: 2, cat: Movies/SD, desc: "Movies - Divx/Xvid"} + - {id: 1, cat: Movies/DVD, desc: "Movies - DVD"} + - {id: 42, cat: Movies/HD, desc: "Movies - HD"} + - {id: 4, cat: Movies/Other, desc: "Movies - Other"} + - {id: 35, cat: Audio, desc: "Music - Album"} + - {id: 24, cat: Audio/Video, desc: "Music - DVD"} + - {id: 22, cat: Audio/MP3, desc: "Music - MP3"} + - {id: 27, cat: Audio/Other, desc: "Music - Other"} + - {id: 26, cat: Audio, desc: "Music - Radio"} + - {id: 50, cat: Books, desc: "Other - Books"} + - {id: 36, cat: Books/Ebook, desc: "Other - E-books"} + - {id: 51, cat: Books/Magazines, desc: "Other - Magazines"} + - {id: 53, cat: Other, desc: "Other - Other"} + - {id: 37, cat: Other, desc: "Other - Pictures"} + - {id: 55, cat: XXX, desc: "Porn - Movie"} + - {id: 68, cat: XXX/Other, desc: "Porn - Other"} + - {id: 54, cat: XXX/Imageset, desc: "Porn - Picture"} + - {id: 56, cat: XXX/WMV, desc: "Porn - Video"} + - {id: 6, cat: TV, desc: "TV - Divx/Xvid"} + - {id: 59, cat: TV/HD, desc: "TV - Full HD"} + - {id: 41, cat: TV/HD, desc: "TV - HD"} + - {id: 7, cat: TV, desc: "TV - SVCD/VCD"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - 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" + + login: + path: account-login.php + method: post + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + error: + - selector: div.myFrame:contains("Access Denied") + test: + path: index.php + selector: a[href="account-logout.php"] + + search: + paths: + # https://sktorrent.org/torrents-search.php?c48=1&c2=1&c1=1&c42=1&c4=1&search=&cat=0&incldead=1&freeleech=0&inclexternal=0&lang=0 + # https://sktorrent.org/torrents-search.php?search=&cat=0&incldead=0&freeleech=0&inclexternal=0&lang=0 + - path: torrents-search.php + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + cat: 0 + # 0 active 1 incldead 2 onlydead + incldead: 1 + # 0 all 1 notfree 2 onlyfree + freeleech: 0 + # 0 both 1 local 2 external + inclexternal: 0 + # 0 all 1 English 2 etc... + lang: 0 + sort: "{{ .Config.sort }}" + order: "{{ .Config.type }}" + + rows: + selector: tr.t-row + + fields: + category: + selector: td a[href^="torrents.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + title: + selector: td a[href^="torrents-details.php?id="] + attribute: title + details: + selector: td a[href^="torrents-details.php?id="] + attribute: href + download: + selector: td a[href^="download.php?id="] + attribute: href + date: + text: now + size: + selector: td:nth-child(5) + seeders: + selector: td:nth-child(6) + leechers: + selector: td:nth-child(7) + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# TorrentTrader