diff --git a/src/Jackett.Common/Definitions/enthralled2fa.yml b/src/Jackett.Common/Definitions/enthralled2fa.yml new file mode 100644 index 000000000..c3ce4bcf0 --- /dev/null +++ b/src/Jackett.Common/Definitions/enthralled2fa.yml @@ -0,0 +1,129 @@ +--- +id: enthralled2fa +name: Enthralled2FA +description: "Enthralled is a Private Torrent Tracker for FETISH 3X. Cookie Login for 2FA use." +language: en-US +type: private +encoding: UTF-8 +links: + - https://www.enthralled.me/ + +caps: + categorymappings: + - {id: 1, cat: XXX, desc: "FemDom"} + - {id: 2, cat: XXX, desc: "LezDom"} + - {id: 4, cat: XXX, desc: "POV"} + - {id: 5, cat: XXX, desc: "Scat"} + - {id: 3, cat: XXX, desc: "TransDom"} + + modes: + search: [q] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info + label: How to get the Cookie + default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: time + options: + time: created + seeders: seeders + size: size + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - 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: + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: index.php + selector: "#nav_userinfo" + +search: + paths: + - path: torrents.php + inputs: + $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" + title: "{{ .Keywords }}" + order_by: "{{ .Config.sort }}" + order_way: "{{ .Config.type }}" + action: advanced + filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" + + rows: + selector: table#torrent_table > tbody > tr[class^="torrent row"] + + fields: + category: + selector: a[href*="filter_cat"] + attribute: href + filters: + - name: regexp + args: "(\\d+)]=1" + 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 + poster: + 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 + # auto adjusted by site account profile + filters: + - name: dateparse + args: "MMM dd yyyy, HH:mm" + 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: 0.5 + description: + optional: true + selector: div.tags +# Luminance