From 6b69808183bbb998146e36303d31662e2184abd3 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 6 Nov 2022 09:11:37 +1300 Subject: [PATCH] slosoul: removed. resolves #12435 --- README.md | 1 - src/Jackett.Common/Definitions/slosoul.yml | 176 --------------------- src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 177 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/slosoul.yml diff --git a/README.md b/README.md index f62446aac..d91a753b1 100644 --- a/README.md +++ b/README.md @@ -500,7 +500,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * SiamBIT * SkipTheCommercials * SkipTheTrailers - * slosoul * SnowPT (SSPT) * SoulVoice * SpeedApp (SceneFZ, XtreMeZone / MYXZ, ICE Torrent) diff --git a/src/Jackett.Common/Definitions/slosoul.yml b/src/Jackett.Common/Definitions/slosoul.yml deleted file mode 100644 index 830d57cc1..000000000 --- a/src/Jackett.Common/Definitions/slosoul.yml +++ /dev/null @@ -1,176 +0,0 @@ ---- -id: slosoul -name: slosoul -description: "slosoul is a Slovanian Private Torrent Tracker for MOVIES / TV / GENERAL" -language: en-US -type: private -encoding: UTF-8 -testlinktorrent: false -links: - - https://slosoul.net/ -legacylinks: - - http://slosoul.net/ - -caps: - categorymappings: - - {id: 5, cat: PC, desc: "Apps"} - - {id: 7, cat: Books/EBook, desc: "Ebooks"} - - {id: 6, cat: PC/Games, desc: "Games PC"} - - {id: 19, cat: Console/XBox 360, desc: "GAMES xbox360"} - - {id: 8, cat: Movies, desc: "Movies Packs"} - - {id: 1, cat: Movies/SD, desc: "Movies Divx/Xvid"} - - {id: 9, cat: Movies/DVD, desc: "Movies DVD-r"} - - {id: 17, cat: Movies/HD, desc: "Movies x.264"} - - {id: 11, cat: Movies/BluRay, desc: "Movies BluRay"} - - {id: 15, cat: Movies/HD, desc: "Movies HEVC"} - - {id: 14, cat: Audio/Lossless, desc: "Music FLAC"} - - {id: 3, cat: Audio/MP3, desc: "Music MP3"} - - {id: 13, cat: TV/Sport, desc: "TV Sport"} - - {id: 18, cat: TV, desc: "TV Packs"} - - {id: 10, cat: TV, desc: "TV Shows"} - - {id: 16, cat: TV/HD, desc: "TV Shows HEVC"} - - {id: 12, cat: Other, desc: "VIP"} - - {id: 4, cat: XXX, desc: "Porn"} - - modes: - search: [q] - tv-search: [q, season, ep, imdbid] - movie-search: [q, imdbid] - music-search: [q] - book-search: [q] - -settings: - - name: username - type: text - label: Username - - name: password - type: password - label: Password - - name: freeleech - type: checkbox - label: Filter freeleech only - default: false - - name: sort - type: select - label: Sort requested from site - default: added - options: - added: 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: takelogin.php - method: post - inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - logout: "" - error: - - selector: table:has(td.thead:contains("An error has occured!")) - test: - path: userdetails.php - selector: a[href*="logout.php?logouthash="] - -download: - before: - path: takethanks.php - method: post - inputs: - torrentid: "{{ re_replace .DownloadUri.PathAndQuery \".*torrent-details-(\\d+).*\" \"$1\"}}" - selectors: - - selector: a[href*="download-torrent-"] - attribute: href - -search: - paths: - - path: browse.php - inputs: - do: search - # does not support multi categories so defaulting to ALL - category: 0 - # yes incldead, no activeonly - include_dead_torrents: yes - keywords: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" - # t_name, t_description, t_both, t_uploader, t_genre - search_type: "{{ if .Query.IMDBID }}t_genre{{ else }}t_name{{ end }}" - sort: "{{ .Config.sort }}" - order: "{{ .Config.type }}" - # does not return imdb link in results - keywordsfilters: - - name: re_replace # replace special characters with "%" (wildcard) - args: ["[^a-zA-Z0-9]+", "%"] - - rows: - selector: "table#sortabletable tbody tr:has(a[href*=\"download-torrent-\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}" - - fields: - category: - selector: a[href*="torrent-category-"] - attribute: href - filters: - - name: regexp - args: (\d+) - title_default: - # is often abbreviated - selector: a[href*="torrent-details-"] - title_optional: - # usually longer than details title - selector: div[id^="port-content-"] div - optional: true - title: - text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}" - details: - selector: a[href*="torrent-details-"] - attribute: href - download: - selector: a[href*="torrent-details-"] - attribute: href - magnet: - selector: a[href^="magnet:?xt="] - attribute: href - poster: - selector: div[id^="port-content-"] img - attribute: src - date: - selector: td:nth-child(2) > div:last-child - filters: - - name: regexp - args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2}) - - name: append - args: " +00:00" # auto adjusted by site account profile - - name: dateparse - args: "02-01-2006 15:04 -07:00" - size: - selector: td:nth-child(5) - grabs: - selector: td:nth-child(6) - seeders: - selector: td:nth-child(7) - leechers: - selector: td:nth-child(8) - downloadvolumefactor: - case: - img[src$="/external.gif"]: 0 - img[src$="/freedownload.gif"]: 0 - img[src$="/silverdownload.gif"]: 0.5 - "*": 1 - uploadvolumefactor: - case: - img[src$="/x2.gif"]: 2 - "*": 1 -# TBD, Rules and FAQ do not cover this yet -# minimumratio: -# text: 1.0 -# minimumseedtime: -# # 2 days (as seconds = 2 x 24 x 60 x 60) -# text: 172800 -# TS Special Edition v.8.0 diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index b1524e61e..064b1d0cd 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -509,6 +509,7 @@ namespace Jackett.Updater "Definitions/skytorrents.yml", "Definitions/skytorrentsclone.yml", // renamed to skytorrents-lol "Definitions/skytorrentsclone2.yml", // renamed to skytorrents-to + "Definitions/slosoul.yml", "Definitions/soundpark.yml", "Definitions/spacetorrent.yml", "Definitions/speed-share.yml",