From 84f81e6bee823efabb22bcbe995fa422f9489fed Mon Sep 17 00:00:00 2001 From: ServarrAdmin Date: Tue, 24 Jun 2025 16:41:31 -0500 Subject: [PATCH] jackett indexers as of 934ee1e98c3041d48202adc66b643a625ca74a71 [2025-06-24T21:41:31Z] [backports skipped - TODO] Added Indexers: definitions/v11/magnetdownload.yml Modified Indexers: definitions/v10/ebooks-shares.yml definitions/v10/polishtorrent.yml definitions/v10/rudub.yml definitions/v11/chdbits.yml --- definitions/v10/ebooks-shares.yml | 2 +- definitions/v10/polishtorrent.yml | 8 +-- definitions/v10/rudub.yml | 6 +- definitions/v11/chdbits.yml | 9 ++- definitions/v11/magnetdownload.yml | 96 ++++++++++++++++++++++++++++++ 5 files changed, 111 insertions(+), 10 deletions(-) create mode 100644 definitions/v11/magnetdownload.yml diff --git a/definitions/v10/ebooks-shares.yml b/definitions/v10/ebooks-shares.yml index 2ee99fc19..1bcbf3a24 100644 --- a/definitions/v10/ebooks-shares.yml +++ b/definitions/v10/ebooks-shares.yml @@ -169,7 +169,7 @@ search: by: "{{ .Config.type }}" rows: - selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.vip }}{{ else }}:not(:has(a[href$=\"&category=16\"])):not(:has(a[href$=\"&category=319\"])){{ end }}" + selector: "table.lista:not(table[cellspacing]) > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.vip }}{{ else }}:not(:has(a[href$=\"&category=16\"])):not(:has(a[href$=\"&category=319\"])){{ end }}" fields: category: diff --git a/definitions/v10/polishtorrent.yml b/definitions/v10/polishtorrent.yml index 3ca0db588..138a75b15 100644 --- a/definitions/v10/polishtorrent.yml +++ b/definitions/v10/polishtorrent.yml @@ -230,10 +230,10 @@ search: True: 2 # double uploadvolumefactor: text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" -# global MR is 0.4 but torrents must be seeded for 2 days regardless of ratio +# global MR is 0.7 but torrents must be seeded for 5 days regardless of ratio # minimumratio: -# text: 0.4 +# text: 0.7 minimumseedtime: - # 2 days (as seconds = 2 x 24 x 60 x 60) - text: 172800 + # 5 days (as seconds = 5 x 24 x 60 x 60) + text: 432000 # json UNIT3D 9.1.1 (custom) diff --git a/definitions/v10/rudub.yml b/definitions/v10/rudub.yml index 57fb652b4..cb73f107d 100644 --- a/definitions/v10/rudub.yml +++ b/definitions/v10/rudub.yml @@ -9,10 +9,8 @@ type: semi-private encoding: windows-1251 followredirect: true links: - - https://jun24.rudub.icu/ + - https://jun25.rudub.icu/ legacylinks: - - http://jun08.rudub.run/ - - https://jun08.rudub.run/ - http://jun09.rudub.run/ - https://jun09.rudub.run/ - http://jun10.rudub.run/ @@ -46,6 +44,8 @@ legacylinks: - http://jun23.rudub.icu/ - https://jun23.rudub.icu/ - http://jun24.rudub.icu/ + - https://jun24.rudub.icu/ + - http://jun25.rudub.icu/ caps: categorymappings: diff --git a/definitions/v11/chdbits.yml b/definitions/v11/chdbits.yml index 841f10e66..8ab1854cb 100644 --- a/definitions/v11/chdbits.yml +++ b/definitions/v11/chdbits.yml @@ -6,8 +6,8 @@ language: zh-CN type: private encoding: UTF-8 links: - - https://chdbits.co/ - https://ptchdbits.co/ + - https://chdbits.co/ caps: categorymappings: @@ -66,6 +66,8 @@ login: path: login.php method: form form: form[action="takelogin.php"] + headers: + user-agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"] captcha: type: image selector: img[alt="CAPTCHA"] @@ -80,9 +82,12 @@ login: error: - selector: td.embedded:has(h2:contains("失败")) - selector: td.embedded:has(h2:contains("failed")) + - selector: td.embedded:has(h2:contains("错误")) + - selector: td.embedded:has(h2:contains("error")) + - selector: font[color="red"] test: path: torrents.php - selector: a[href*="logout.php"] + selector: a[href*="logout"] download: selectors: diff --git a/definitions/v11/magnetdownload.yml b/definitions/v11/magnetdownload.yml new file mode 100644 index 000000000..acc265f67 --- /dev/null +++ b/definitions/v11/magnetdownload.yml @@ -0,0 +1,96 @@ +--- +id: magnetdownload +name: MagnetDownload +description: "MagnetDownload is a Public DHT Crawler" +language: en-US +type: public +encoding: UTF-8 +links: + - https://www.magnetdownload.com/ + +caps: + categorymappings: + - {id: Other, cat: Other, desc: Other} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: info_category_8000 + type: info_category_8000 + +download: + before: + path: api/json_info + inputs: + # /info/14152933 + hashes: "{{ re_replace .DownloadUri.AbsolutePath \"/info/\" \"\" }}" + infohash: + usebeforeresponse: true + hash: + selector: :root + filters: + - name: regexp + args: ([A-F|a-f|0-9]{40}) + title: + selector: :root + filters: + - name: regexp + args: name\". \"(.+?)\" + - name: validfilename + +search: + paths: + # https://www.magnetdownload.com/search/2025/ + - path: "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}/" + + rows: + selector: tr > td.x-item +# filters: +# - name: andmatch + + fields: + category: + text: Other + title: + selector: a + attribute: title + details: + selector: a + attribute: href + download: + selector: a + attribute: href + date: + # 2 days, 5 hours + selector: span.ctime + filters: + - name: timeago + files: + selector: div.tail + filters: + - name: regexp + args: Files. (\d+) + size: + selector: div.tail + filters: + - name: regexp + args: size. (.+?) T + grabs: + selector: div.tail + filters: + - name: regexp + args: requests. (\d+) + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a