From 46c9d11c1a4ba971400c2b6da97db225a8894b51 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 1 Jul 2023 17:45:45 +1200 Subject: [PATCH] add HomePornTorrents a private 3x site. resolves #14522 --- README.md | 1 + .../Definitions/homeporntorrents.yml | 150 ++++++++++++++++++ 2 files changed, 151 insertions(+) create mode 100644 src/Jackett.Common/Definitions/homeporntorrents.yml diff --git a/README.md b/README.md index ade55a36a..e6d0e55f0 100644 --- a/README.md +++ b/README.md @@ -396,6 +396,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * HDZone * Hebits * HHanClub + * HomePornTorrents (HPT) * House of Devil * HQMusic * iAnon diff --git a/src/Jackett.Common/Definitions/homeporntorrents.yml b/src/Jackett.Common/Definitions/homeporntorrents.yml new file mode 100644 index 000000000..1b9d8abde --- /dev/null +++ b/src/Jackett.Common/Definitions/homeporntorrents.yml @@ -0,0 +1,150 @@ +--- +id: homeporntorrents +name: HomePornTorrents +description: "HomePornTorrents (HPT) is a Private Torrent Tracker for Amateur 3X" +language: en-US +type: private +encoding: UTF-8 +links: + - https://www.homeporntorrents.club/ + +caps: + categorymappings: + - {id: 1, cat: XXX, desc: "Anal"} + - {id: 3, cat: XXX, desc: "Asian"} + - {id: 4, cat: XXX, desc: "BBW"} + - {id: 2, cat: XXX, desc: "BDSM"} + - {id: 31, cat: XXX, desc: "Big Boobs"} + - {id: 5, cat: XXX, desc: "Black"} + - {id: 7, cat: XXX, desc: "Creampie"} + - {id: 8, cat: XXX, desc: "Cumshot"} + - {id: 9, cat: XXX, desc: "Fetish"} + - {id: 32, cat: XXX, desc: "Fisting"} + - {id: 10, cat: XXX, desc: "Gangbang"} + - {id: 11, cat: XXX, desc: "Gay"} + - {id: 25, cat: XXX, desc: "Hardcore"} + - {id: 12, cat: XXX, desc: "Interracial"} + - {id: 13, cat: XXX, desc: "Latina"} + - {id: 14, cat: XXX, desc: "Lesbian"} + - {id: 26, cat: XXX, desc: "Masturbation"} + - {id: 15, cat: XXX, desc: "Mature"} + - {id: 16, cat: XXX, desc: "Oral"} + - {id: 19, cat: XXX, desc: "Other"} + - {id: 24, cat: XXX, desc: "Pictures"} + - {id: 27, cat: XXX, desc: "Pissing"} + - {id: 21, cat: XXX, desc: "Pregnant"} + - {id: 28, cat: XXX, desc: "Softcore"} + - {id: 22, cat: XXX, desc: "Squirt"} + - {id: 18, cat: XXX, desc: "Teen (18+)"} + - {id: 17, cat: XXX, desc: "Transsexual"} + - {id: 30, cat: XXX, desc: "VIP"} + - {id: 23, cat: XXX, desc: "Voyeur"} + - {id: 29, cat: XXX, desc: "Webcam"} + + modes: + 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 User Settings. The default is 25. + +login: + path: login.php + method: form + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + keeplogged: 1 + error: + - selector: form#loginform > span.warning + test: + path: index.php + selector: "#nav_useredit" + +search: + paths: + # https://www.homeporntorrents.club/torrents.php?order_by=time&order_way=desc&filter_freeleech=1&searchtext=&search_type=0&taglist=&tags_type=0 + - path: torrents.php + inputs: + $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" + searchtext: "" + title: "{{ .Keywords }}" + order_by: time + order_way: desc + action: advanced + filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" + filelist: "" + taglist: "" + + rows: + # exclude redbar torrents + selector: table#torrent_table > tbody > tr[class^="torrent row"] + + fields: + category: + selector: a[href*="filter_cat"] + attribute: href + filters: + - name: regexp + args: \[(\d+?)\] + title: + selector: a[href^="torrents.php?id="] + details: + selector: a[href^="torrents.php?id="] + attribute: href + download: + selector: a[href^="torrents.php?action=download&id="] + attribute: href + description: + selector: div.tags + poster: + # src=https:\/\/fapping.empornium.sx\/images\/2023\/05\/30\/MrLuckyPOV2023AlexisFawxXXX720pHEVCx265PRTmp4snapshot0950.jpg> + selector: td:nth-child(2) > script + filters: + - name: regexp + args: "src=(.*?)>" + - name: re_replace + args: ["\\\\(.)", "$1"] + - name: replace + args: ["/static/common/noartwork/noimage.png", ""] + files: + selector: td:nth-child(3) + date: + selector: td:nth-child(5) > span + attribute: title + filters: + # auto adjusted by site account profile + - name: append + args: " +00:00" # GMT + - name: dateparse + args: "MMM dd yyyy, HH:mm zzz" + size: + selector: td:nth-child(6) + grabs: + selector: td:nth-child(7) + seeders: + selector: td:nth-child(8) + leechers: + selector: td:nth-child(9) + downloadvolumefactor: + case: + span.icon[title*="Freeleech"]: 0 + img[alt="Freeleech"]: 0 + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.0 +# Project Gazelle