diff --git a/README.md b/README.md index 32f495c38..58c2be1b4 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Tokyo Tosho * Torlock * Torlook + * Torrent[CORE] * Torrent Downloads (TD) * Torrent Oyun indir * torrent.by diff --git a/src/Jackett.Common/Definitions/torrentcore.yml b/src/Jackett.Common/Definitions/torrentcore.yml new file mode 100644 index 000000000..5e692572c --- /dev/null +++ b/src/Jackett.Common/Definitions/torrentcore.yml @@ -0,0 +1,109 @@ +--- +id: torrentcore +name: Torrent[CORE] +description: "Torrent[CORE] is a Public DHT Crawler" +language: en-US +type: public +encoding: UTF-8 +links: + - https://torrentcore.xyz/ + +caps: + categorymappings: + - {id: 0DAY, cat: PC/0day, desc: Software 0DAY} + - {id: DVDR, cat: Movies/DVD, desc: Movies DVDR} + - {id: EBOOK, cat: Books, desc: Ebook} + - {id: FLAC, cat: Audio/Lossless, desc: Music FLAC} + - {id: GAMES, cat: PC/Games, desc: Games} + - {id: MP3, cat: Audio/MP3, desc: Music MP3} + - {id: MP4, cat: Movies, desc: Movies MP4} + - {id: PDA, cat: PC/Mobile-Other, desc: Software PDA} + - {id: PS3, cat: Console/PS3, desc: Games PS3} + - {id: TV, cat: TV, desc: TV} + - {id: TV-DVDRIP, cat: TV/SD, desc: TV DVDRIP} + - {id: TV-X265, cat: TV/HD, desc: TV X265} + - {id: TV-XVID, cat: TV/SD, desc: TV XVID} + - {id: UNKNOWN, cat: Other, desc: Unknown} + - {id: X264, cat: Movies/HD, desc: Movies X264} + - {id: XBOX360, cat: Console/XBox 360, desc: Games XBOX360} + - {id: XVID, cat: Movies/SD, desc: Movies XVID} + - {id: XXX, cat: XXX, desc: Adult} + - {id: XXX-0DAY, cat: XXX, desc: Adult 0DAY} + - {id: XXX-IMGSET, cat: XXX/ImageSet, desc: Adult IMGSET} + - {id: XXX-X264, cat: XXX, desc: Adult X264} + - {id: XXX-X265, cat: XXX, desc: Adult X265} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: [] + +download: + infohash: + hash: + selector: div.content + filters: + - name: regexp + args: "Hash: ([A-F|a-f|0-9]{40})" + title: + selector: font[color="orange"] + filters: + - name: trim + - name: validfilename + +search: + paths: + - path: "{{ if .Keywords }}search?s={{ .Keywords }}{{ else }}index{{ end }}" + # search is an exact match, there are no wild cards, or +word or AND/OR, and spaces and dots are treated uniquely + + rows: + selector: div.content font[color="purple"], div.content font[color="orange"]:has(img), div.content font[color="gray"], div.content font[color="white"] + after: 3 + + fields: + category: + selector: img[src^="./cat/"] + attribute: src + filters: + - name: regexp + args: "cat/(.+?).png" + title: + selector: a + details: + selector: a + attribute: href + download: + selector: a + attribute: href + size: + selector: font[color="purple"] + filters: + - name: regexp + args: "Size: (.+?)/" + files: + selector: font[color="purple"] + filters: + - name: regexp + args: "File: (\\d+)" + date: + selector: font[color="purple"] + filters: + - name: regexp + args: "\\[ (\\d{2} [A-Za-z]+ \\d{4} \\d{2}:\\d{2}:\\d{2}) \\]" + - name: append + args: " -07:00" # PDT + - name: dateparse + args: "02 January 2006 03:04:05 -07:00" + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index bfd75e40f..e273f31fc 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -515,7 +515,6 @@ namespace Jackett.Updater "Definitions/torrent-paradise-ml.yml", "Definitions/torrent4you.yml", "Definitions/torrentbomb.yml", - "Definitions/torrentcore.yml", "Definitions/torrentcouch.yml", "Definitions/torrentfactory.yml", "Definitions/torrentgalaxyorg.yml", // renamed to torrentgalaxy