From 80505c115104f65f8169da685f6c9ba791686cd7 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 3 Mar 2021 11:12:06 +1300 Subject: [PATCH] add torrentqq a Korean public site. resolves #11208 --- README.md | 1 + src/Jackett.Common/Definitions/torrentqq.yml | 95 ++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 src/Jackett.Common/Definitions/torrentqq.yml diff --git a/README.md b/README.md index 61294eec7..463db64a1 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * TorrentParadise * TorrentProject * TorrentProject2 + * TorrentQQ (토렌트큐큐) * Torrents.csv * Torrentv * TorrentView (토렌트뷰) diff --git a/src/Jackett.Common/Definitions/torrentqq.yml b/src/Jackett.Common/Definitions/torrentqq.yml new file mode 100644 index 000000000..92e6c9d10 --- /dev/null +++ b/src/Jackett.Common/Definitions/torrentqq.yml @@ -0,0 +1,95 @@ +--- +id: torrentqq +name: TorrentQQ +description: "TorrentQQ (토렌트큐큐) is a Public KOREAN tracker for Korean media." +language: ko-KR +type: public +encoding: UTF-8 +followredirect: true +links: + - https://torrentqq76.com/ + +caps: + categorymappings: + - {id: "adt", cat: XXX, desc: "성인 (XXX)"} + - {id: "ani", cat: TV/Anime, desc: "애니 (Anime)"} + - {id: "etc", cat: Other, desc: "기타 (Other)"} + - {id: "gme", cat: Console, desc: "게임 (Games)"} + - {id: "med", cat: TV, desc: "방송 (TV)"} + - {id: "mov", cat: Movies, desc: "영화 (Movie)"} + - {id: "mus", cat: Audio, desc: "음악 (Music)"} + - {id: "spo", cat: TV/Sport, desc: "스포츠 (Sport)"} + - {id: "utl", 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. + - name: downloads + type: info + label: About Downloads + default: Some download links on this site use a link to a direct file download service, instead of a .torrent link. Jackett does not support direct file downloads, so you will get a page-cannot-be-found error when you try them. + +download: + selector: a[href^="/torrent/download/"] + attribute: href + +search: + paths: + # https://torrentqq76.com/torrent/newest.html + # https://torrentqq76.com/search?q=cosmic%20sin + - path: "{{ if .Keywords }}search?q={{ .Keywords }}{{ else }}torrent/newest.html{{ end }}" + + rows: + selector: ul#searchresult > li:has(a[href$=".html"][title]) + + fields: + category: + selector: a[href$=".html"][title] + attribute: href + filters: + - name: regexp + args: "\\/torrent\\/(\\w{3})\\/" + title: + selector: a[href$=".html"][title] + details: + selector: a[href$=".html"][title] + attribute: href + download: + selector: a[href$=".html"][title] + attribute: href + date: + # note: this will cause 0m date results for MM-dd dates that are higher than current date, as Jackett dateparse assumes year is now. + 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" + size: + selector: div.wr-size + filters: + - name: append + args: "B" + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a