From f712af9533a759b0a01b67d46207d2241111d525 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 14 Dec 2021 09:17:46 +1300 Subject: [PATCH] add freshmeat a public metatracker resolves #12698 --- README.md | 1 + src/Jackett.Common/Definitions/freshmeat.yml | 73 ++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 src/Jackett.Common/Definitions/freshmeat.yml diff --git a/README.md b/README.md index b5bd59dcf..424ed4db2 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * EZTV * FileListing * FireBit + * freshMeat * Frozen Layer * GamesTorrents * GkTorrent diff --git a/src/Jackett.Common/Definitions/freshmeat.yml b/src/Jackett.Common/Definitions/freshmeat.yml new file mode 100644 index 000000000..78d70ae68 --- /dev/null +++ b/src/Jackett.Common/Definitions/freshmeat.yml @@ -0,0 +1,73 @@ +--- +id: freshmeat +name: freshMeat +description: "freshMeat is a Public torrent meta-search engine" +language: en-US +type: public +encoding: UTF-8 +links: + - https://freshmeat.io/ + +caps: + # unfortunately freshMeat does not display categories anywhere in its search results page :-( + categorymappings: + - {id: 1, cat: Movies, desc: "Movies"} + - {id: 2, cat: TV, desc: "TV"} + - {id: 3, cat: Other, desc: "Other"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + +settings: + - name: info_8000 + type: info + label: About freshMeat Categories + default: freshMeat does not return categories in its search results.
To add to your Apps' Torznab indexer, replace all categories with 8000(Other). + +download: + selectors: + - selector: a[href^="magnet:?xt="] + attribute: href + +search: + paths: + - path: "{{ if .Keywords }}s?q={{ .Keywords }}{{ else }}{{ end }}" + + rows: + selector: table.torrent-list > tbody > tr + filters: + - name: andmatch + + fields: + category: + text: 3 + title: + selector: td:nth-child(2) + details: + selector: td:nth-child(2) a + attribute: href + download: + selector: td:nth-child(2) a + attribute: href + date: + selector: td:nth-child(1) + attribute: data-sort-value + filters: + - name: dateparse + args: "2006-01-02 15:04:05" + description: + selector: td:nth-child(3) img + attribute: title + size: + selector: td:nth-child(4) + seeders: + selector: td:nth-child(5) + leechers: + text: 0 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a