From 2ac60a45fb25f62793484a43cf8fde75588c321a Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 11 Dec 2023 16:09:16 +0200 Subject: [PATCH] jackett indexers as of 9cadde6fd58a5a76c8af7aaa1d64e918ad6d2eb6 --- definitions/v7/acidlounge.yml | 1 - definitions/v7/anime-free.yml | 1 - definitions/v7/asiancinema.yml | 38 ++++++++- definitions/v7/bangumi-moe.yml | 1 - definitions/v7/bitspyder.yml | 1 - definitions/v7/empornium.yml | 1 - definitions/v7/empornium2fa.yml | 1 - definitions/v7/enthralled.yml | 1 - definitions/v7/enthralled2fa.yml | 128 +++++++++++++++++++++++++++++++ definitions/v7/haidan.yml | 1 - definitions/v7/happyfappy.yml | 1 - definitions/v7/kufirc.yml | 1 - definitions/v7/torrentz2eu.yml | 3 + definitions/v7/xider-torrent.yml | 8 +- definitions/v9/anime-free.yml | 1 - definitions/v9/bangumi-moe.yml | 1 - definitions/v9/hellashut.yml | 7 +- 17 files changed, 177 insertions(+), 19 deletions(-) create mode 100644 definitions/v7/enthralled2fa.yml diff --git a/definitions/v7/acidlounge.yml b/definitions/v7/acidlounge.yml index 84c08670a..128833d82 100644 --- a/definitions/v7/acidlounge.yml +++ b/definitions/v7/acidlounge.yml @@ -143,7 +143,6 @@ search: selector: a[href^="download.php?"] attribute: href description: - optional: true selector: span.torrent_small_desc genre: selector: span.torrent_small_desc diff --git a/definitions/v7/anime-free.yml b/definitions/v7/anime-free.yml index 4500a94aa..63ea8e55c 100644 --- a/definitions/v7/anime-free.yml +++ b/definitions/v7/anime-free.yml @@ -125,7 +125,6 @@ search: attribute: src description: selector: div[itemprop="description"] - optional: true date: selector: li:has(img#adddate) filters: diff --git a/definitions/v7/asiancinema.yml b/definitions/v7/asiancinema.yml index 895195afd..659ae1b24 100644 --- a/definitions/v7/asiancinema.yml +++ b/definitions/v7/asiancinema.yml @@ -127,8 +127,42 @@ search: date: selector: time filters: - - name: append - args: " ago" + # translations for Turkish|Estonian|Danish|Italian|Polish|Norwegian|Portuguese|Czech|Russian|Romanian|Spanish|French|German|Bulgarian|Dutch|Chinese|Japanese|Swedish + - name: re_replace + args: ["(?i)(önce|tagasi|geleden|fa|temu|siden|há|atrás|nazpět|назад|acum|în urmă|hace|il y a|vor|преди|前|sedan)", " ago"] + - name: re_replace + args: ["(?i)(saniye|sekundit|sekunder|secondi|sekund|segundos|sekundami|секунд|secunde|secondes|Sekunden|секунди|seconden|秒前)", "seconds"] + - name: re_replace + args: ["(?i)(minutit|minutter|minuti|minuty|minutos|минуты|минут|Minuten|минути|minuten|minuter)", "minutes"] + - name: re_replace + args: ["(?i)(dakika|minut|minuto|minuta|minutt|минута|Minute|minuut|分钟|分)", " minute"] + - name: re_replace + args: ["(?i)(tundi|timer|ore|godziny|horas|hodiny|hoden|часа|часов|ore|heures|Stunden|timmar)", "hours"] + - name: re_replace + args: ["(?i)(saat|tund|time|ora|godzina|hora|hodina|час|oră|heure|Stunde|uur|小时|時間|timme)", " hour"] + - name: re_replace + args: ["(?i)(päeva|dage|giorni|dni|dias|dny|дня|дней|zile|días|jours|Tagen|дни|dagen|dagar)", "days"] + - name: re_replace + args: ["(?i)(gün|päev|dag|giorno|dzień|dia|den|день|zi|día|jour|Tag|ден|天|日)", " day"] + - name: re_replace + args: ["(?i)(nädalat|uger|settimane|tygodnie|uker|semanas|týdny|недели|недель|săptămâni|semaines|Wochen|седмици|weken|veckor)", "weeks"] + - name: re_replace + args: ["(?i)(hafta|nädal|uge|settimana|tydzień|uke|semana|týden|неделю|săptămână|semaine|Woche|седмица|周|週間|vecka)", " week"] + - name: re_replace + args: ["(?i) (ay)", "month"] + - name: re_replace + args: ["(?i)(kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden|månader)", "months"] + - name: re_replace + args: ["(?i)(kuu|måned|mese|miesiąc|mês|měsíc|месяц|lună|mes|Monat|месец|maand|个月|ヶ月|månad)", " month"] + - name: re_replace + args: ["(?i)(aastat|anni|lata|anos|roky|года|ani|años|ans|Jahren|години)", " years"] + - name: re_replace + args: ["(?i)(yil|aasta|år|anno|rok|ano|год|año|Jahr|година|jaar|年)", " year"] + - name: re_replace + args: ["(?i) (an)", "year"] + - name: re_replace + args: ["(?i)(För |und)", ""] # Misc removals + - name: timeago downloadvolumefactor: case: i[class*="fa-id-badge text-orange"]: 0 # 24 Hour FreeLeech From BON Store diff --git a/definitions/v7/bangumi-moe.yml b/definitions/v7/bangumi-moe.yml index 96951ea1e..8c386a059 100644 --- a/definitions/v7/bangumi-moe.yml +++ b/definitions/v7/bangumi-moe.yml @@ -61,7 +61,6 @@ search: args: "src=\\\"(.+?)\\\"" description: selector: category_tag.locale.en - optional: true date: # 2021-10-19T06:10:15.772Z selector: publish_time diff --git a/definitions/v7/bitspyder.yml b/definitions/v7/bitspyder.yml index 2e2c746bd..88212453a 100644 --- a/definitions/v7/bitspyder.yml +++ b/definitions/v7/bitspyder.yml @@ -176,7 +176,6 @@ search: uploadvolumefactor: text: 1 description: - optional: true selector: font[color="#990000"] minimumratio: text: 1.0 diff --git a/definitions/v7/empornium.yml b/definitions/v7/empornium.yml index 477bd6a8d..5630e3368 100644 --- a/definitions/v7/empornium.yml +++ b/definitions/v7/empornium.yml @@ -114,7 +114,6 @@ search: selector: a[href^="/torrents.php?action=download&id="] attribute: href description: - optional: true selector: div.tags title: selector: a[href^="/torrents.php?id="] diff --git a/definitions/v7/empornium2fa.yml b/definitions/v7/empornium2fa.yml index fed881dcb..7c5ef05b9 100644 --- a/definitions/v7/empornium2fa.yml +++ b/definitions/v7/empornium2fa.yml @@ -109,7 +109,6 @@ search: selector: a[href^="/torrents.php?action=download&id="] attribute: href description: - optional: true selector: div.tags title: selector: a[href^="/torrents.php?id="] diff --git a/definitions/v7/enthralled.yml b/definitions/v7/enthralled.yml index f952ae654..e372e891c 100644 --- a/definitions/v7/enthralled.yml +++ b/definitions/v7/enthralled.yml @@ -129,6 +129,5 @@ search: minimumratio: text: 0.5 description: - optional: true selector: div.tags # Luminance diff --git a/definitions/v7/enthralled2fa.yml b/definitions/v7/enthralled2fa.yml new file mode 100644 index 000000000..9b4bd21ae --- /dev/null +++ b/definitions/v7/enthralled2fa.yml @@ -0,0 +1,128 @@ +--- +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: + selector: div.tags +# Luminance diff --git a/definitions/v7/haidan.yml b/definitions/v7/haidan.yml index f63705ba1..dc0c8ea5c 100644 --- a/definitions/v7/haidan.yml +++ b/definitions/v7/haidan.yml @@ -131,7 +131,6 @@ search: selector: a[href^="download.php?id="] attribute: href description: - optional: true selector: div.torrent_name_col > a poster: selector: img#poster diff --git a/definitions/v7/happyfappy.yml b/definitions/v7/happyfappy.yml index ca2730737..1d6789725 100644 --- a/definitions/v7/happyfappy.yml +++ b/definitions/v7/happyfappy.yml @@ -101,7 +101,6 @@ search: selector: a[href^="torrents.php?action=download&id="] attribute: href description: - optional: true selector: div.tags poster: selector: td:nth-child(2) > script diff --git a/definitions/v7/kufirc.yml b/definitions/v7/kufirc.yml index 498587a75..77b0677f1 100644 --- a/definitions/v7/kufirc.yml +++ b/definitions/v7/kufirc.yml @@ -149,7 +149,6 @@ search: selector: a[href^="torrents.php?action=download&id="] attribute: href description: - optional: true selector: div.tags poster: selector: td:nth-child(2) > script diff --git a/definitions/v7/torrentz2eu.yml b/definitions/v7/torrentz2eu.yml index c9b2c3a19..b92fab426 100644 --- a/definitions/v7/torrentz2eu.yml +++ b/definitions/v7/torrentz2eu.yml @@ -80,6 +80,9 @@ search: page: 2 inputs: q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}+{{ end }}" + keywordsfilters: + - name: re_replace + args: ["(\\w+)", "+$1"] # prepend + to each word rows: selector: table.table-responsive > tbody > tr diff --git a/definitions/v7/xider-torrent.yml b/definitions/v7/xider-torrent.yml index b0fe2c282..9b5429c14 100644 --- a/definitions/v7/xider-torrent.yml +++ b/definitions/v7/xider-torrent.yml @@ -150,6 +150,10 @@ search: selector: td:nth-child(10) leechers: selector: td:nth-child(11) + description: + case: + i.fa-check: Verified + i.fa-question: Unverified downloadvolumefactor: case: "span[style^=\"font\"]:contains(\"0x\")": 0 @@ -159,6 +163,6 @@ search: "span[style^=\"font\"]:last-child:contains(\"2x\")": 2 "*": 1 minimumseedtime: - # 3 days (as seconds = 3 x 24 x 60 x 60) - text: 259200 + # 2 days (as seconds = 2 x 24 x 60 x 60) + text: 172800 # Engine n/a diff --git a/definitions/v9/anime-free.yml b/definitions/v9/anime-free.yml index 0fd9e0d2e..f3627ad81 100644 --- a/definitions/v9/anime-free.yml +++ b/definitions/v9/anime-free.yml @@ -124,7 +124,6 @@ search: attribute: src description: selector: div[itemprop="description"] - optional: true date: selector: li:has(img#adddate) filters: diff --git a/definitions/v9/bangumi-moe.yml b/definitions/v9/bangumi-moe.yml index 51533fc0c..4a7c4aace 100644 --- a/definitions/v9/bangumi-moe.yml +++ b/definitions/v9/bangumi-moe.yml @@ -61,7 +61,6 @@ search: args: "src=\\\"(.+?)\\\"" description: selector: category_tag.locale.en - optional: true date: # 2021-10-19T06:10:15.772Z selector: publish_time diff --git a/definitions/v9/hellashut.yml b/definitions/v9/hellashut.yml index 40c34c763..d28786a94 100644 --- a/definitions/v9/hellashut.yml +++ b/definitions/v9/hellashut.yml @@ -108,10 +108,11 @@ login: captcha: type: image selector: img[src="captcha.php?ext=.gif"] - input: captcha + input: input[name^="captcha"] inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" + input[name="username"]: "{{ .Config.username }}" + input[name="password"]: "{{ .Config.password }}" + selectors: true error: - selector: td.embedded:contains("Access Denied") test: