From 5b508b2439cdff0ecd48729dd3680a723671036e Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 15 Jul 2024 15:50:24 +1200 Subject: [PATCH] centraltorrent: removed. resolves #14355 --- README.md | 1 - .../Definitions/centraltorrent.yml | 163 ------------------ src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 164 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/centraltorrent.yml diff --git a/README.md b/README.md index bb6bc7ced..bd990bb91 100644 --- a/README.md +++ b/README.md @@ -290,7 +290,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * CarPT * Cathode-Ray.Tube (CRT) * CD File - * Central Torrent * CeskeForum * CGPeers [![(invite needed)][inviteneeded]](#) * CHDBits [![(invite needed)][inviteneeded]](#) diff --git a/src/Jackett.Common/Definitions/centraltorrent.yml b/src/Jackett.Common/Definitions/centraltorrent.yml deleted file mode 100644 index e74f8ffa2..000000000 --- a/src/Jackett.Common/Definitions/centraltorrent.yml +++ /dev/null @@ -1,163 +0,0 @@ ---- -id: centraltorrent -name: Central Torrent -description: "Central Torrent is a POLISH Private Torrent Tracker for MOVIES / MUSIC" -language: pl-PL -type: private -encoding: ISO-8859-2 -links: - - http://central-torrent.eu/ # site does not support https NET::ERR_CERT_AUTHORITY_INVALID - -caps: - categorymappings: - - {id: 23, cat: TV/Anime, desc: "Animowane"} - - {id: 1, cat: PC, desc: "Aplikacje"} - - {id: 26, cat: Movies, desc: "Dzieci/Bajki"} - - {id: 29, cat: Books/EBook, desc: "E-books"} - - {id: 20, cat: Movies/SD, desc: "Filmy/DVD"} - - {id: 22, cat: Movies/SD, desc: "Filmy/RMVB"} - - {id: 35, cat: Movies/UHD, desc: "Filmy/UHD"} - - {id: 24, cat: Movies/HD, desc: "Filmy/x264"} - - {id: 36, cat: Movies/HD, desc: "Filmy/x265"} - - {id: 19, cat: Movies/SD, desc: "Filmy/XviD"} - - {id: 21, cat: Movies/SD, desc: "Filmy/XviD PL"} - - {id: 12, cat: PC/Games, desc: "Gry"} - - {id: 17, cat: PC/Games, desc: "Gry/Konsole"} - - {id: 4, cat: PC/Games, desc: "Gry/PC ISO"} - - {id: 28, cat: Other, desc: "GSM/PDA"} - - {id: 32, cat: Movies/BluRay, desc: "HD/Blu-ray"} - - {id: 31, cat: Audio/Lossless, desc: "Music/Lossless"} - - {id: 6, cat: Audio, desc: "Muzyka"} - - {id: 30, cat: Other, desc: "Rozne"} - - {id: 25, cat: TV/Sport, desc: "Sport"} - - {id: 27, cat: Audio/Video, desc: "Teledyski"} - - {id: 7, cat: TV, desc: "TV/Seriale"} - - {id: 9, cat: XXX, desc: "XXX"} - - 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 - - name: freeleech - type: checkbox - label: Search freeleech only - default: false - - name: sort - type: select - label: Sort requested from site - default: 4 - options: - 4: created - 7: seeders - 5: size - 1: title - - name: type - type: select - label: Order requested from site - default: desc - options: - desc: desc - asc: asc - - name: info_tpp - type: info - label: Results Per Page - default: For best results, change the Torrents per page: setting to 100 on your account profile. - - name: info_activity - type: info - label: Account Inactivity - default: "User accounts of the Power User class and lower, inactive for a period longer than 42 days, are deleted. Therefore, if for some reason you cannot access Central Torrent for some time, park your account. Although you won't be able to download torrents, you can be sure that you won't have to log in for 64 days. However, if after this time you do not log in to your account, it will be deleted." - -login: - path: login.php - method: form - form: form[action="takelogin.php"] - inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - captcha: - type: image - selector: img.cimage - input: captcha - error: - - selector: td.embedded:has(h2:contains("failed")) - - selector: td.embedded:has(h2:contains("Error")) - - selector: form[action="takelogin.php"] - message: - text: "Login page detected at {{ .Config.sitelink }}." - test: - path: index.php - selector: a[href="/my.php"] - -download: - selectors: - - selector: a[href^="download.php/"] - attribute: href - -search: - paths: - - path: browse.php - inputs: - $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ .Keywords }}" - # 0 active, 1 all, 2 dead, 3 freeleech - incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}" - # 0 all, 1 polish, 2 non-polish - polish: 0 - # 0 name - blah: 0 - sort: "{{ .Config.sort }}" - type: "{{ .Config.type }}" - - rows: - selector: table[onMouseover] > tbody > tr:has(a[href^="details.php?id="]) - - fields: - category: - selector: a[href^="browse.php?cat="] - attribute: href - filters: - - name: querystring - args: cat - title: - selector: a[href^="details.php?id="] - details: - selector: a[href^="details.php?id="] - attribute: href - download: - selector: a[href^="details.php?id="] - attribute: href - files: - selector: td:nth-child(3) - date: - selector: td:nth-child(5) - # auto adjusted by site account profile - filters: - - name: dateparse - args: "yyyy-MM-ddHH:mm:ss" - size: - selector: td:nth-child(7) - grabs: - selector: td:nth-child(8) - seeders: - selector: td:nth-child(9) - leechers: - selector: td:nth-child(10) - downloadvolumefactor: - case: - img[src="pic/freedownload.gif"]: 0 - "*": 1 - uploadvolumefactor: - text: 1 - minimumratio: - text: 1.0 -# tbsource diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 56d6db0df..c9fe18942 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -334,6 +334,7 @@ namespace Jackett.Updater "Definitions/casatorrent.yml", // renamed to teamctgame "Definitions/casstudiotv.yml", "Definitions/ccfbits.yml", + "Definitions/centraltorrent.yml", "Definitions/channelx.yml", "Definitions/cheggit.yml", "Definitions/cili180.yml", // renamed to liaorencili