From 7092f2055acfa3a004a21d04e95282838276ef3d Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 5 Mar 2021 09:45:07 +1300 Subject: [PATCH] add tjangto a Korean public site. resolves #11216 --- README.md | 1 + src/Jackett.Common/Definitions/tjangto.yml | 90 ++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 src/Jackett.Common/Definitions/tjangto.yml diff --git a/README.md b/README.md index 8c1fe1ba4..684d8ad07 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * sukebei-Pantsu * sukebei.Nyaa.si * The Pirate Bay (TPB) + * Tjangto (짱토) * Tokyo Tosho * Torlock * TOROS diff --git a/src/Jackett.Common/Definitions/tjangto.yml b/src/Jackett.Common/Definitions/tjangto.yml new file mode 100644 index 000000000..6e01d3971 --- /dev/null +++ b/src/Jackett.Common/Definitions/tjangto.yml @@ -0,0 +1,90 @@ +--- +id: tjangto +name: Tjangto +description: "Tjangto (짱토) is a Public KOREAN tracker for Korean media." +language: ko-KR +type: public +encoding: UTF-8 +followredirect: true +links: + - https://www.jjangtorrent.com/ + +caps: + categorymappings: + - {id: "tani", cat: TV/Anime, desc: "애니 (Animation)"} + - {id: "tv", cat: TV, desc: "TV프로 (TV)"} + - {id: "tmovie", cat: Movies, desc: "영화 (Movie)"} + - {id: "tdrama", cat: TV, desc: "드라마 (Drama)"} + - {id: "tent", cat: TV, desc: "예능 (Entertainment)"} + - {id: "tmusic", cat: Audio, desc: "음악 (Music)"} + - {id: "util", cat: PC, desc: "유틸 (Software)"} + + modes: + search: [q] + tv-search: [q] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: flaresolverr + type: info + label: FlareSolverr + default: This site may use Cloudflare DDoS Protection, therefore Jackett requires FlareSolver to access it. + +download: + selector: a[href*="magnet:?xt="] + attribute: href + filters: + - name: append + args: "&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce" + +search: + paths: + # https://www.jjangtorrent.com/bbs/search.php?site=1&sfl=wr_subject%7C%7Cwr_content&sop=and&stx=sin + - path: bbs/search.php + inputs: + stx: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}" + srows: 100 + gr_id: "" + # wr_subject||wr_content, wr_subject, wr_content, mb_id, wr_name + sfl: wr_subject + # or, and + sop: and + site: 1 + + rows: + selector: section.sch_res_list ul li + + fields: + category: + selector: div.sch_tit a + attribute: href + filters: + - name: querystring + args: bo_table + title: + selector: div.sch_tit a + details: + selector: div.sch_tit a + attribute: href + download: + selector: div.sch_tit a + attribute: href + date: + # 2020-05-12 12:00:52 + selector: span.sch_datetime + filters: + - name: dateparse + args: "2006-01-02 15:04:05" + size: + text: "512 MB" + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a