From a8ba61fc9d0b7e8f7adf1b8994dd5a8482746761 Mon Sep 17 00:00:00 2001 From: tide4cw <54249007+tide4cw@users.noreply.github.com> Date: Mon, 24 Feb 2020 02:05:57 -0500 Subject: [PATCH] Add torrentview a Korean public site. (#7313) --- README.md | 1 + .../Definitions/torrentview.yml | 82 +++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 src/Jackett.Common/Definitions/torrentview.yml diff --git a/README.md b/README.md index f78ce9dc5..bbacfe547 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * TorrentProject2 * TorrentQuest * Torrents.csv + * TorrentView * TorrentWal * Torrentz2 * Underverse diff --git a/src/Jackett.Common/Definitions/torrentview.yml b/src/Jackett.Common/Definitions/torrentview.yml new file mode 100644 index 000000000..d9a4434f6 --- /dev/null +++ b/src/Jackett.Common/Definitions/torrentview.yml @@ -0,0 +1,82 @@ +--- + site: torrentview + name: TorrentView + description: "Torrent View (토렌트뷰) is a Public KOREAN tracker for Korean media." + language: ko-KR + type: public + encoding: UTF-8 + links: + - https://torrentview3.net/ + legacylinks: + - https://torrentview.net/ + + caps: + categorymappings: + - {id: "mov", cat: Movies, desc: "토렌트영화 (Movies)"} + - {id: "enter", cat: TV, desc: "예능 (TV Variety Shows)"} + - {id: "drama", cat: TV, desc: "드라마 (TV Dramas)"} + - {id: "tv", cat: TV/Documentary, desc: "시사 (Documentaries)"} + - {id: "netflix", cat: TV, desc: "넷플릭스 (Netflix, Disney+, etc.)"} + - {id: "util", cat: PC, desc: "토렌트유틸 (Utilities)"} + - {id: "ani", cat: TV/Anime, desc: "애니 (Anime)"} + - {id: "music", cat: Audio, desc: "음원 (Music)"} + + modes: + search: [q] + + settings: [] + + download: + selector: a[href^="magnet:?xt="] + attribute: href + + search: + paths: + # https://torrentview3.net/bbs/search.php?srows=10&gr_id=&sfl=wr_subject&stx=test&sop=and + - path: "bbs/search.php" + inputs: + # number of rows + srows: 100 + # category: all + gr_id: "" + # search in: title + sfl: wr_subject + stx: "{{ if .Keywords }}{{ .Keywords }}{{else}}금요일{{end}}" + # search operand: or, and + sop: and + + rows: + selector: div.search-media > div.media + + fields: + category: + selector: div.media-content > a[href^="./board.php"] + attribute: href + filters: + - name: querystring + args: bo_table + title: + selector: div.media-content > a[href^="./board.php"] > span + details: + selector: div.media-content > a[href^="./board.php"] + attribute: href + download: + selector: div.media-content > a[href^="./board.php"] + attribute: href + date: + selector: time + attribute: datetime + filters: + - name: dateparse + args: "2006-01-02T15:04:05+09:00" + size: + text: "512 MB" + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a