diff --git a/README.md b/README.md index 20fa682da..3c9e3f20f 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Torlock * Torrent Downloads * Torrent9 + * TorrentKim * Torrentz2 * World Wide Torrents * YIFY (YTS) diff --git a/src/Jackett.Common/Definitions/torrentkim.yml b/src/Jackett.Common/Definitions/torrentkim.yml new file mode 100644 index 000000000..bd3beeb46 --- /dev/null +++ b/src/Jackett.Common/Definitions/torrentkim.yml @@ -0,0 +1,65 @@ +--- + site: torrentkim + name: TorrentKim + description: "TorrentKim is a free Korean tracker of pretty much anything Korean." + language: ko-KR + type: public + encoding: UTF-8 + links: + - https://torrentkim12.com/ + legacylinks: + - https://torrentkim10.net/ + + caps: + categorymappings: + - {id: "torrent_variety", cat: TV, desc: "TV - Variety shows"} + - {id: "torrent_tv", cat: TV, desc: "TV - Dramas"} + - {id: "torrent_mid", cat: TV/FOREIGN, desc: "TV - American Series"} + + modes: + search: [q] + tv-search: [q] + movie-search: [q] + + settings: [] + + search: + paths: + - path: "{{ if .Keywords }}/bbs/s-1-{{ .Keywords }}{{else}}/bbs/s-1-미운우리새끼{{end}}" + rows: + selector: "table.board_list > tbody > tr.bg1:nth-child(n+3)" + fields: + magnet: + selector: td:nth-child(1) a[href^="javascript:"] + attribute: href + filters: + - name: replace + args: ["javascript:Mag_dn('", ""] + - name: replace + args: ["')", ""] + - name: prepend + args: "magnet:?xt=urn:btih:" + seeders: + selector: "td:nth-child(2) font:nth-child(2)" + leechers: + selector: "td:nth-child(2) font:nth-child(1)" + category: + selector: td:nth-child(3) a[href^="/bbs/bc.php?bo_table="] + attribute: href + filters: + - name: querystring + args: bo_table + title: + selector: td:nth-child(3) a:last-of-type + details: + selector: td:nth-child(3) a:last-of-type + attribute: href + date: + selector: td:nth-child(3) a:last-of-type + filters: + - name: split + args: ['.', 2] + - name: dateparse + args: "060102" + size: + selector: td:nth-child(5)