diff --git a/README.md b/README.md index db5c453c8..f63101d96 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * iTorrent * kickasstorrents.ws * kickasstorrents.to + * KissSub * Legit Torrents * LePorno.info * LimeTorrents diff --git a/src/Jackett.Common/Definitions/kisssub.yml b/src/Jackett.Common/Definitions/kisssub.yml new file mode 100644 index 000000000..86e2da8d9 --- /dev/null +++ b/src/Jackett.Common/Definitions/kisssub.yml @@ -0,0 +1,92 @@ +--- +id: kisssub +name: KissSub +description: "KissSub is a CHINESE Public torrent index" +language: zh-cn +type: public +encoding: UTF-8 +links: + - https://kisssub.org/ + +caps: + categorymappings: + - {id: 动画, cat: TV/Anime, desc: 动画 (Animation Series and Movies)} + - {id: 漫画, cat: Books/Comics, desc: 漫画 (Comics and Manga)} + - {id: 音乐, cat: Audio, desc: 音乐 (Music OST and Singles)} + - {id: 周边, cat: TV/Other, desc: 周边 (Live Action)} + - {id: 其它, cat: TV/Anime, desc: 其它 (Other)} + - {id: Raw, cat: TV/Anime, desc: Raw} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: [] + +search: + paths: + # https://kisssub.org/search.php?keyword=moon+720p + - path: "{{ if .Keywords }}search.php?keyword={{ .Keywords }}{{ else }}{{ end }}" + + rows: + selector: table[id="listTable"] > tbody > tr + + fields: + category: + selector: a[href^="sort-"] + title: + selector: a[href^="show-"] + details: + selector: a[href^="show-"] + attribute: href + infohash: + selector: a[href^="show-"] + attribute: href + filters: + - name: regexp + args: show-([0-9A-Fa-f]{40}) + date: + # 今天 00:35 (Today) + optional: true + selector: td:nth-child(1):contains("昨天") + filters: + - name: replace + args: ["昨天", "Today"] + - name: append + args: " +08:00" # CST + - name: fuzzytime + date: + # 昨天 22:50 (Yesterday) + optional: true + selector: td:nth-child(1):contains("今天") + filters: + - name: replace + args: ["今天", "Yesterday"] + - name: append + args: " +08:00" # CST + - name: fuzzytime + date: + # 2020/12/24 + optional: true + selector: td:nth-child(1):not(:contains("昨天")):not(:contains("今天")) + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "2006/01/02 -07:00" + size: + selector: td:nth-child(4) + seeders: + selector: td:nth-child(5) + leechers: + selector: td:nth-child(6) + grabs: + selector: td:nth-child(7) + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine MioBT