From bff6d17d0ee05f61c3ba38f187848db1fdd37726 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 14 Dec 2021 14:37:22 +1300 Subject: [PATCH] shokweb: removed. resolves #3210 --- README.md | 1 - src/Jackett.Common/Definitions/shokweb.yml | 80 ---------------------- src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 81 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/shokweb.yml diff --git a/README.md b/README.md index 424ed4db2..e7236d292 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Sexxi * Sexy-Pics * ShizaProject - * shokweb * ShowRSS * Solid Torrents * sosulki diff --git a/src/Jackett.Common/Definitions/shokweb.yml b/src/Jackett.Common/Definitions/shokweb.yml deleted file mode 100644 index 9b022a819..000000000 --- a/src/Jackett.Common/Definitions/shokweb.yml +++ /dev/null @@ -1,80 +0,0 @@ ---- -id: shokweb -name: shokweb -description: "shokweb is a CHINESE Public tracker" -language: zh-CN -type: public -encoding: UTF-8 -links: - - https://shokweb.com/ -certificates: - - ba7fb6290a9d7d821e73efb0eac4ed95a7fd2d11 # expired - -settings: [] - -caps: - categorymappings: - - {id: "影视", cat: Movies, desc: "影视(Movie)"} - - {id: "安装包", cat: PC/ISO, desc: "安装包(Installation Package)"} - - {id: "其他", cat: Other, desc: "其他(Other)"} - - {id: "音乐", cat: Audio, desc: "音乐(Music)"} - - {id: "文档书籍", cat: Books, desc: "文档书籍(Documents Book)"} - - {id: "压缩文件", cat: PC, desc: "压缩文件(Compressed Files)"} - - {id: "图像", cat: Other/Misc, desc: "图像(Image)"} - - modes: - search: [q] - movie-search: [q] - music-search: [q] - book-search: [q] - -search: - paths: - # https://shokweb.com/ (latest) - # https://shokweb.com/search/supergirl%20s04e01 (search) - - path: "{{ if .Keywords }}/search/{{ .Keywords }}{{ else }}{{ end }}" - - rows: - selector: div:has(a[href^="magnet:?"]) - filters: - - name: andmatch - - fields: - category: - selector: p:has(img) span:nth-last-child(4) - title: - selector: a[href^="/post/"] - details: - selector: a[href^="/post/"] - attribute: href - download: - selector: a[href^="magnet:?"] - attribute: href - size: - selector: p:has(img) span:nth-last-child(2) - grabs: - selector: p:has(img) span:nth-last-child(5) - date: - selector: p:has(img) span:nth-last-child(1) - filters: - - name: replace - args: ["时", " hours"] - - name: replace - args: ["分", " minutes"] - - name: replace - args: ["天", " days"] - - name: replace - args: ["年", " year"] - - name: replace - args: ["月", " months"] - - name: replace - args: ["前", " ago"] - seeders: - text: 1 - leechers: - text: 1 - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index dbcbc5274..f2dcabb02 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -433,6 +433,7 @@ namespace Jackett.Updater "Definitions/shareuniversity.yml", "Definitions/sharingue.yml", "Definitions/shellife.yml", + "Definitions/shokweb.yml", "Definitions/skytorrents.yml", "Definitions/skytorrents-lol.yml", "Definitions/skytorrents-to.yml",