diff --git a/README.md b/README.md index 06eb83963..1f460f58e 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
Supported Public Trackers + * 01torrent * ØMagnet * 1337x * 7torrents diff --git a/src/Jackett.Common/Definitions/01torrent.yml b/src/Jackett.Common/Definitions/01torrent.yml new file mode 100644 index 000000000..5d169b111 --- /dev/null +++ b/src/Jackett.Common/Definitions/01torrent.yml @@ -0,0 +1,107 @@ +--- +id: 01torrent +name: 01Torrent +description: "01Torrent is a Public tracker" +language: en-US +type: public +encoding: UTF-8 +testlinktorrent: false +links: + - https://www4.01torrent.net/ + - https://01torrent.unblockit.ws/ + +caps: + categories: + "anime": TV/Anime + "application": PC + "book": Books + "game": PC/Games + "movie": Movies + "music": Audio + "tvshow": TV + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + +settings: [] + +download: + # https://www3.01torrent.net/movie/erasing-his-dark-past-2020-720p-webrip-800mb-x264-galaxyrg/163219/ + # + before: + path: showme.php + method: post + inputs: + id: "{{ re_replace .DownloadUri.AbsoluteUri \"^.*/(\\d+)/$\" \"$1\" }}" + name: torrent + selectors: + - selector: a[href^="magnet:?xt="] + attribute: href + usebeforeresponse: true + +search: + paths: + # https://www4.01torrent.net/search/ + - path: search/ + method: post + inputs: + q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}" + + rows: + selector: table.table-striped > tbody > tr + filters: + - name: andmatch + + fields: + category: + selector: span.icomoon + attribute: class + filters: + - name: split + args: [" ", 1] + - name: replace + args: ["icomoon-", ""] + title: + selector: a.screenshot + details: + selector: a.screenshot + attribute: href + download: + selector: a.screenshot + attribute: href + date: + text: now + size: + selector: span.label-default + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a