diff --git a/README.md b/README.md index 99ac30d87..28738f5e7 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * LePorno * LimeTorrents * MacTorrents + * Magnet4You * MagnetDL * MejorTorrent * Monova diff --git a/src/Jackett.Common/Definitions/magnet4you.yml b/src/Jackett.Common/Definitions/magnet4you.yml new file mode 100644 index 000000000..41792e6da --- /dev/null +++ b/src/Jackett.Common/Definitions/magnet4you.yml @@ -0,0 +1,74 @@ +--- + site: magnet4you + name: Magnet4You + description: "Magnet4You is a Public magnet search engine" + language: en-us + type: public + encoding: UTF-8 + links: + - http://magnet4you.me/ + + caps: + categories: + 1 : Other + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + settings: + - name: info + type: info + default: Magnet4You does not use categories. In your software Indexer settings, set the category to 100001. + - name: sort + type: select + label: Sort requested from site + default: "uploaded" + options: + "uploaded": "created" + "seed": "seeders" + "size": "size" + "title": "name" + + search: + paths: + - path: "{{ if .Keywords }}search.php?s={{ .Keywords }}&sort={{ .Config.sort }}{{else}}browse.php?sort={{ .Config.sort }}{{end}}" + + rows: + selector: table.tb4 > tbody > tr:has(a[href^="magnet:?xt="]) + + fields: + category: + text: 1 + title: + selector: a[href^="magnet/"] + details: + selector: a[href^="magnet/"] + attribute: href + magnet: + selector: a[href^="magnet:?xt="] + attribute: href + date: + selector: td:nth-child(2) + filters: + - name: timeago + size: + selector: td:nth-child(3) + filters: + - name: replace + args: ["Undefined", "0 B"] + seeders: + selector: td:nth-child(5) + leechers: + selector: td:nth-child(6) + grabs: + selector: td:nth-child(7) + filters: + - name: replace + args: ["K", "000"] + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/src/Jackett.Common/Definitions/torrent4you.yml b/src/Jackett.Common/Definitions/torrent4you.yml index 26a08e473..06431320d 100644 --- a/src/Jackett.Common/Definitions/torrent4you.yml +++ b/src/Jackett.Common/Definitions/torrent4you.yml @@ -18,6 +18,9 @@ movie-search: [q] settings: + - name: info + type: info + default: Torrent4You does not use categories. In your software Indexer settings, set the category to 100001. - name: sort type: select label: Sort requested from site