diff --git a/README.md b/README.md index c4c33256f..e79743405 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Torrent Downloads (TD) * TorrentFunk * TorrentGalaxy.org (TGx) - * TorrentKitty * TorrentProject2 * TorrentQuest * Torrents.csv diff --git a/src/Jackett.Common/Definitions/torrentkitty.yml b/src/Jackett.Common/Definitions/torrentkitty.yml deleted file mode 100644 index dbd105eaa..000000000 --- a/src/Jackett.Common/Definitions/torrentkitty.yml +++ /dev/null @@ -1,104 +0,0 @@ ---- - site: torrentkitty - name: TorrentKitty - description: "TorrentKitty is a CHINESE Public torrent search engine." - language: cn - type: public - encoding: UTF-8 - links: - - https://torrentkittyso.cc/ - legacylinks: - - http://cntorrentkitty.com/ - - http://cntorrentkitty.xyz/ - - https://gotorrentkitty.cc/ - - http://gotorrentkitty.cc/ - - settings: - - name: category - type: select - label: Category - default: "0" - options: - "0": "All" - "1": "Other" - "2": "Video" - "3": "Music" - "4": "Documents" - "5": "Software" - "6": "Compress" - "7": "Images" - "8": "Image" - - caps: - categories: - "[其他]": Other # other - "[视频]": Movies # video - "[音乐]": Audio # music - "[文档]": Books # documents - "[软件]": PC/0day # software - "[压缩]": PC # compress - "[图片]": Other/Misc # images - "[映像]": Other/Misc # image - modes: - search: [q] - - download: - selector: a[href^="magnet:?"] - - search: - paths: - # http://cntorrentkitty.com/tk/what%20men%20want/1-0-0.html (10 hits) - # http://cntorrentkitty.com/newest/ (100 hits) - # try and fetch at least 50 keyword results - - path: "{{if .Keywords}}tk/{{.Keywords}}/1-0-{{.Config.category}}.html{{else}}newest/{{end}}" - - path: "{{if .Keywords}}tk/{{.Keywords}}/2-0-{{.Config.category}}.html{{else}}{{end}}" - - path: "{{if .Keywords}}tk/{{.Keywords}}/3-0-{{.Config.category}}.html{{else}}{{end}}" - - path: "{{if .Keywords}}tk/{{.Keywords}}/4-0-{{.Config.category}}.html{{else}}{{end}}" - - path: "{{if .Keywords}}tk/{{.Keywords}}/5-0-{{.Config.category}}.html{{else}}{{end}}" - rows: - selector: p.p1:not(p.filelist), p.p0:not(p.filelist) - after: 1 - fields: - category: - selector: span:nth-child(1) - title: - selector: a[target="_blank"] - details: - selector: a[target="_blank"] - attribute: href - download: - selector: a[target="_blank"] - attribute: href - size: - selector: b:contains(" GB"), b:contains(" MB"), b:contains(" KB") - date: - text: "now" - date: - selector: b:contains("收录"):contains(":") - optional: true - filters: - - name: replace - args: ["收录",""] - - name: dateparse - args: "2006-01-02 15:04:05" - date: - selector: b:contains(收录):not(:contains(":")) - optional: true - filters: - - name: replace - args: ["收录",""] - - name: dateparse - args: "2006-01-02" - files: - selector: b:contains("个文件") - filters: - - name: replace - args: ["个文件",""] - seeders: - text: "1" - leechers: - text: "1" - downloadvolumefactor: - text: "0" - uploadvolumefactor: - text: "1" diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index e1dbaf7eb..a624c1160 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -353,6 +353,7 @@ namespace Jackett.Updater "Definitions/mkvcage.yml", "Definitions/btkitty.yml", "Definitions/kikibt.yml", + "Definitions/torrentkitty.yml", }; foreach (var oldFile in oldFiles)