From 78778808b336b3fe764f71922758905c6bdd3b81 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 16 Jul 2021 15:32:31 +1200 Subject: [PATCH] add asiandvdclub a private site. resolves #11994 --- README.md | 1 + .../Definitions/asiandvdclub.yml | 124 ++++++++++++++++++ 2 files changed, 125 insertions(+) create mode 100644 src/Jackett.Common/Definitions/asiandvdclub.yml diff --git a/README.md b/README.md index 4394fc789..003165cc1 100644 --- a/README.md +++ b/README.md @@ -256,6 +256,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Araba Fenice (Phoenix) [![(invite needed)][inviteneeded]](#) * ArabP2P * AsianCinema + * AsianDVDClub * Asylum Share * AudioNews (AN) * Aussierul.es [![(invite needed)][inviteneeded]](#) diff --git a/src/Jackett.Common/Definitions/asiandvdclub.yml b/src/Jackett.Common/Definitions/asiandvdclub.yml new file mode 100644 index 000000000..ee1573cd3 --- /dev/null +++ b/src/Jackett.Common/Definitions/asiandvdclub.yml @@ -0,0 +1,124 @@ +--- +id: asiandvdclub +name: AsianDVDClub +description: "AsianDVDClub (ADC) is a Private Torrent Tracker for Asian DVD and BluRay" +language: en +type: private +encoding: UTF-8 +links: + - https://asiandvdclub.org/ + +caps: + categorymappings: + - {id: 1, cat: TV/Anime, desc: "Anime"} + - {id: 3, cat: Movies, desc: "Japan"} + - {id: 5, cat: Movies, desc: "China"} + - {id: 4, cat: Movies, desc: "Korea"} + - {id: 2, cat: Movies, desc: "Hong Kong"} + - {id: 6, cat: Movies, desc: "Philippines"} + - {id: 7, cat: Movies, desc: "Taiwan"} + - {id: 8, cat: Movies, desc: "Thailand"} + - {id: 9, cat: Movies, desc: "Vietnam"} + - {id: 10, cat: Movies, desc: "Malaysia"} + - {id: 11, cat: Movies, desc: "Other Asian"} + - {id: 12, cat: Other, desc: "Miscellaneous"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + +login: + path: login + method: post + inputs: + apple: evil + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + error: + - selector: p:contains("Error") + test: + path: index + selector: a[href="/logout"] + +search: + paths: + - path: torrents/ + inputs: + $raw: "{{ range .Categories }}countries[]={{.}}&{{end}}" + searchbox: "{{ .Keywords }}" + search: Search + golden: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" + + rows: + selector: table.torrenttable_helper > tbody > tr:has(img) + + fields: + category: + selector: img[class^="cat-"] + attribute: class + case: + img.cat-anime : 1 + img.cat-hk : 2 + img.cat-japan : 3 + img.cat-korea : 4 + img.cat-china : 5 + img.cat-phil : 6 + img.cat-taiwan : 7 + img.cat-thai : 8 + img.cat-viet : 9 + img.cat-malaysia : 10 + img.cat-rest : 11 + img.cat-misc : 12 # unconfirmed as there are currently no torrents for cat[12] + title: + selector: a[href^="/torrent/"] + details: + selector: a[href^="/torrent/"] + attribute: href + download: + selector: a[href^="/torrent/"] + attribute: href + filters: + - name: replace + args: ["torrent", "download"] + size: + selector: td:nth-child(5) + seeders: + selector: td:nth-child(6) + leechers: + selector: td:nth-child(7) + date: + selector: td:nth-child(8) + filters: + - name: timeago + grabs: + selector: td:nth-child(9) + downloadvolumefactor: + case: + img[src="../images/golden.gif"]: 0 + img[src="../images/silver.gif"]: 0.5 # unconfirmed as there are currently no silver torrents + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.5 + minimumseedtime: + # 45 days (as seconds = 45 x 24 x 60 x 60) + text: 3888000 +# Engine n/a