diff --git a/README.md b/README.md index 8c4f804d3..9e1d65372 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Torrent9 clone * Torrent911 * TorrentFunk + * TorrentDownloads * TorrentGalaxy (TGx) * TorrentKitty * TorrentProject2 diff --git a/src/Jackett.Common/Definitions/torrentdownloads.yml b/src/Jackett.Common/Definitions/torrentdownloads.yml new file mode 100644 index 000000000..3a0c2ecb4 --- /dev/null +++ b/src/Jackett.Common/Definitions/torrentdownloads.yml @@ -0,0 +1,129 @@ +--- +id: torrentdownloads +name: Torrent Downloads +description: "Torrent Downloads (TD) is a Public torrent site for all kinds of content" +language: en-US +type: public +encoding: UTF-8 +followredirect: true +links: + - https://www.torrentdownloads.pro/ + - https://torrentdownloads.unblockit.click/ + - https://torrentdownloads.mrunblock.life/ + - https://torrentdownloads.unblockninja.com/ + - https://torrentdownloads.nocensor.click/ +legacylinks: + - https://www.torrentdownloads.me/ + - https://torrentdownloads.nocensor.work/ + - https://torrentdownloads.unblockit.how/ + - https://torrentdownloads.unblockit.cam/ + - https://torrentdownloads.nocensor.biz/ + - https://torrentdownloads.unblockit.day/ + - https://torrentdownloads.unblockit.llc/ + - https://torrentdownloads.unblockit.blue/ + - https://torrentdownloads.unblockit.name/ + - https://torrentdownloads.nocensor.sbs/ + - https://torrentdownloads.unblockit.ist/ + - https://torrentdownloads.unblockit.bet/ + - https://torrentdownloads.unblockit.cat/ + - https://torrentdownloads.unblockit.nz/ + - https://torrentdownloads.nocensor.world/ + - https://torrentdownloads.unblockit.page/ + - https://torrentdownloads.unblockit.pet/ + - https://torrentdownloads.nocensor.lol/ + - https://torrentdownloads.unblockit.ink/ + - https://torrentdownloads.unblockit.bio/ + - https://torrentdownloads.unblockit.boo/ + - https://www.torrentdownloads.info/ + - https://torrentdownloads.mrunblock.guru/ + +caps: + categorymappings: + - {id: 8, cat: TV, desc: "TV Shows"} + - {id: 4, cat: Movies, desc: "Movies"} + - {id: 5, cat: Audio, desc: "Music"} + - {id: 3, cat: PC/Games, desc: "Games"} + - {id: 7, cat: PC, desc: "Software"} + - {id: 1, cat: TV/Anime, desc: "Anime"} + - {id: 2, cat: Books, desc: "Books"} + - {id: 9, cat: Other, desc: "Other"} + - {id: 0, cat: Other, desc: "Other"} + - {id: 6, cat: Other, desc: "Pics"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: downloadlink + type: select + label: Download link + default: "magnet:" + options: + "http://itorrents.org/": "iTorrents.org" + "magnet:": "magnet" + - name: downloadlink2 + type: select + label: Download link (fallback) + default: "http://itorrents.org/" + options: + "http://itorrents.org/": "iTorrents.org" + "magnet:": "magnet" + - name: info_download + type: info + label: About the Download links + default: As the .torrent download links on this site are known to fail from time to time, you can optionally set as a fallback an automatic alternate link. + +download: + selectors: + - selector: a[href^="{{ .Config.downloadlink }}"] + attribute: href + - selector: a[href^="{{ .Config.downloadlink2 }}"] + attribute: href + +search: + paths: + - path: "{{ if .Keywords }}/search/{{ else }}/today/{{ end }}" + followredirect: true + inputs: + $raw: "{{ range .Categories }}s_cat={{.}}&{{end}}" + search: "{{ .Keywords }}" + + rows: + selector: div.inner_container > div:has(p:has(a[href^="/torrent/"])):not(:has(span.__cf_email__)) + + fields: + category: + selector: img[src^="/templates/new/images/icons/menu_icon"] + attribute: src + filters: + - name: regexp + args: (\d+) + title: + selector: p:nth-child(1) > a + attribute: title + filters: + - name: replace + args: ["View torrent info : ", ""] + details: + selector: p:nth-child(1) > a[href^="/torrent/"] + attribute: href + download: + selector: p:nth-child(1) > a[href^="/torrent/"] + attribute: href + date: + text: now + size: + selector: span:nth-child(5) + seeders: + selector: span:nth-child(4) + leechers: + selector: span:nth-child(3) + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index faa4ddb20..53bb76598 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -578,7 +578,6 @@ namespace Jackett.Updater "Definitions/torrentbomb.yml", "Definitions/torrentcouch.yml", "Definitions/torrentdb.yml", - "Definitions/torrentdownloads.yml", "Definitions/torrentfactory.yml", "Definitions/torrentgalaxyorg.yml", // renamed to torrentgalaxy "Definitions/torrenthane.yml",