From 12d7f80b91409f03f012126b5cd836ddbc1d6d3f Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 6 Aug 2019 15:28:07 +1200 Subject: [PATCH] add dmhy a Taiwanese Anime site. resolves #5792 --- README.md | 1 + src/Jackett.Common/Definitions/dmhy.yml | 80 +++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 src/Jackett.Common/Definitions/dmhy.yml diff --git a/README.md b/README.md index 98b817b8d..a72e240ac 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * cpasbienClone * Demonoid * DIGBT + * dmhy * ETTV * EliteTorrent.biz * ExtraTorrent.ag diff --git a/src/Jackett.Common/Definitions/dmhy.yml b/src/Jackett.Common/Definitions/dmhy.yml new file mode 100644 index 000000000..d7165c49b --- /dev/null +++ b/src/Jackett.Common/Definitions/dmhy.yml @@ -0,0 +1,80 @@ +--- + site: dmhy + name: dmhy + description: "dmhy is a TAIWANESE Public magnet tracker for ANIME" + language: zh-TW + type: public + encoding: UTF-8 + links: + - https://share.dmhy.org/ + + caps: + categorymappings: + - {id: 2, cat: TV/Anime, desc: "動畫 (Anime)"} + - {id: 31, cat: TV/Anime, desc: "季度全集 (Quarterly Complete)"} + - {id: 3, cat: Books/Comics, desc: "漫畫 (Manga)"} + - {id: 41, cat: TV, desc: "港台原版 (Hong Kong and Taiwan original)"} + - {id: 42, cat: TV, desc: "日文原版 (Japanese original)"} + - {id: 4, cat: Audio, desc: "音樂 (Music)"} + - {id: 43, cat: Audio, desc: "動漫音樂 (Anime Music)"} + - {id: 44, cat: Audio, desc: "同人音樂 (Fan Music)"} + - {id: 15, cat: Audio, desc: "流行音樂 (Pop Music)"} + - {id: 6, cat: TV, desc: "日劇 (Japanese TV drama)"} + - {id: 7, cat: TV/Anime, desc: "RAW"} + - {id: 9, cat: PC/Games, desc: "遊戲 (games)"} + - {id: 17, cat: PC/Games, desc: "電腦遊戲 (computer games)"} + - {id: 18, cat: Console, desc: "電視遊戲 (video games)"} + - {id: 19, cat: Console, desc: "掌機遊戲 (console games)"} + - {id: 20, cat: Console, desc: "網絡遊戲 (online games)"} + - {id: 21, cat: Console, desc: "遊戲周邊 (game periphery)"} + - {id: 12, cat: Other/Misc, desc: "特攝 (special photo)"} + - {id: 1, cat: Other, desc: "其他 (other)"} + + modes: + search: [q] + + settings: [] + + search: + paths: + - path: topics/list + inputs: + # https://share.dmhy.org/topics/list?keyword=one+piece&sort_id=0&team_id=0&order=date-desc + keyword: "{{ .Keywords }}" + sort_id: 0 + order: date-desc + team_id: 0 + rows: + selector: table tbody tr + fields: + date: + selector: td:nth-child(1) span + filters: + - name: dateparse + args: "2006/01/02 15:04" + category: + selector: td:nth-child(2) a + attribute: href + filters: + - name: regexp + args: "\\/(\\d+)$" + title: + selector: a[href^="/topics/view/"] + details: + selector: a[href^="/topics/view/"] + attribute: href + download: + selector: a[href^="magnet:?"] + attribute: href + size: + selector: td:nth-child(5) + seeders: + selector: td:nth-child(6) + leechers: + selector: td:nth-child(7) + grabs: + selector: td:nth-child(8) + downloadvolumefactor: + text: "0" + uploadvolumefactor: + text: "1"