diff --git a/README.md b/README.md index 43f454d6d..5e32ae0f8 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * GamesTorrents * GkTorrent * GloDLS + * GTorrent * HDReactor * IBit * Idope diff --git a/src/Jackett.Common/Definitions/gtorrent.yml b/src/Jackett.Common/Definitions/gtorrent.yml new file mode 100644 index 000000000..586537d11 --- /dev/null +++ b/src/Jackett.Common/Definitions/gtorrent.yml @@ -0,0 +1,64 @@ +--- +id: gtorrent +name: GTorrent +description: "GTorrent is a RUSSIAN Public Torrent Tracker for MOVIES / TV / GENERAL" +language: ru-ru +type: public +encoding: UTF-8 +links: + - https://gtorrent.org/ + +caps: + categorymappings: + - {id: 1, cat: Other, desc: "Other"} + + modes: + search: [q] + +settings: [] + +download: + selector: a[href^="/uploads/torrents/"] + attribute: href + +search: + # do=search&subaction=search&search_start=0&full_search=0&result_from=1&story=%D0%A6%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%BC%D0%B5%D1%82%D0%B0%D0%BB%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B0%D1%8F+%D0%BE%D0%B1%D0%BE%D0%BB%D0%BE%D1%87%D0%BA%D0%B0+ + paths: + - path: index.php + inputs: + do: search + subaction: search + search_start: 0 + full_search: 0 + result_from: 1 + story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}" + + rows: + selector: div.blog_brief_news:has(div.uploaded) + filters: + - name: andmatch + + fields: + category: + text: 1 + title: + selector: div.name + details: + selector: div.name a + attribute: href + download: + selector: div.name a + attribute: href + date: + text: now + size: + selector: div:nth-child(2) + seeders: + selector: div.uploaded + leechers: + selector: div.download + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a