diff --git a/README.md b/README.md index 35e3abcd2..9b8b79db1 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * ProStyleX * RARBG * RuTor + * shokweb * ShowRSS * SkyTorrentsClone * sukebei.Nyaa.si diff --git a/src/Jackett.Common/Definitions/shokweb.yml b/src/Jackett.Common/Definitions/shokweb.yml new file mode 100644 index 000000000..0934ed2ed --- /dev/null +++ b/src/Jackett.Common/Definitions/shokweb.yml @@ -0,0 +1,74 @@ +--- + site: 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: + categories: + "影视": Movies # Movie + "安装包": PC/ISO # installation package + "其他": Other # Other + "音乐": Audio # Music + "文档书籍": Books # Documents Book + "压缩文件": PC # Compressed Files + "图像": Other/Misc # Image + + modes: + search: [q] + + search: + paths: + # https://shokweb.com/ (latest) + # https://shokweb.com/search/supergirl%20s04e01 (search) + - path: "{{if .Keywords}}{{.Keywords}}{{else}}{{end}}" + rows: + selector: div:has(a[href^="magnet:?"]) + filters: + - name: andmatch + fields: + title: + selector: a[href^="/post/"] + category: + selector: p:has(img) span:nth-last-child(4) + 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"