From e8a7c5cadf34246095da866975fbf3979d7233a7 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 22 Jun 2021 10:17:43 +1200 Subject: [PATCH] add ttobogo a Korean public site. resolves #11212 --- README.md | 1 + src/Jackett.Common/Definitions/ttobogo.yml | 90 ++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 src/Jackett.Common/Definitions/ttobogo.yml diff --git a/README.md b/README.md index ebad9b8ba..7bb7ed93b 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * TorrentView (토렌트뷰) * TorrentWhiz ( 토렌트위즈) * truPornolabs + * ttobogo * Underverse * UnionDHT * VSTHouse diff --git a/src/Jackett.Common/Definitions/ttobogo.yml b/src/Jackett.Common/Definitions/ttobogo.yml new file mode 100644 index 000000000..d8d28a300 --- /dev/null +++ b/src/Jackett.Common/Definitions/ttobogo.yml @@ -0,0 +1,90 @@ +--- +id: ttobogo +name: ttobogo +description: "ttobogo (토렌트 - 또보고) is a Public KOREAN tracker for Korean media." +language: ko-KR +type: public +encoding: UTF-8 +links: + - https://www8.ttobogo.net/ + +caps: + categorymappings: + - {id: "movie", cat: Movies, desc: "영화 (Movie)"} + - {id: "drama", cat: TV, desc: "드라마 (TV drama)"} + - {id: "ent", cat: TV, desc: "예능/오락 (TV shows)"} + - {id: "social", cat: TV, desc: "시사/교양 (TV documentary)"} + - {id: "ani", cat: TV/Anime, desc: "애니 (Anime)"} + - {id: "music", cat: Audio, desc: "음악 (Music)"} + - {id: "etc", cat: Other, desc: "기타 (Other)"} + + modes: + search: [q] + tv-search: [q] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: [] + +download: + selectors: + - selector: a[href="javascript:;"] + attribute: onclick + filters: + - name: replace + args: ["file_download('", ""] + - name: replace + args: ["')", ""] + +search: + paths: + - path: "{{ if .Keywords }}search?skeyword={{ .Keywords }}{{ else }}board/new{{ end }}" + + rows: + selector: ul#searchresult > li + filters: + - name: andmatch + + fields: + category: + selector: div.wr-subject a + attribute: href + filters: + - name: regexp + args: "\\/board\\/torrent_(\\w+)$" + title: + selector: a.subject + attribute: title + details: + selector: a.subject + attribute: href + download: + selector: a.subject + attribute: href + size: + selector: div.wr-size + filters: + - name: append + args: "B" + date: + selector: div.wr-date:contains("-") + optional: true + filters: + - name: dateparse + args: "01-02" + date: + selector: div.wr-date:contains(":") + optional: true + filters: + - name: dateparse + args: "15:04" + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a