danishbytes: add freeleech search #13010

revert updater removing danishbytes.yml
This commit is contained in:
Garfield69
2022-03-02 07:49:11 +13:00
parent 6365de115b
commit 4332639101
2 changed files with 6 additions and 1 deletions

View File

@@ -44,6 +44,10 @@ settings:
type: info type: info
label: About your RSS key label: About your RSS key
default: "Find or Generate a new RSS key by accessing your <a href=\"https://danishbytes.club/\" target =_blank>DanishBytes</a> account <i>My Security</i> page and clicking on the <b>RSS Key (RID)</b> tab." default: "Find or Generate a new RSS key by accessing your <a href=\"https://danishbytes.club/\" target =_blank>DanishBytes</a> account <i>My Security</i> page and clicking on the <b>RSS Key (RID)</b> tab."
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
login: login:
path: /api/torrents path: /api/torrents
@@ -57,7 +61,7 @@ login:
search: search:
paths: paths:
- path: "/api/torrents/v2/filter?api_token={{ .Config.apikey }}&search={{ .Keywords }}{{ if .Query.IMDBIDShort }}&imdb={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TMDBID }}&tmdb={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdb={{ .Query.TVDBID }}{{ else }}{{ end }}{{ range .Categories }}&categories[]={{.}}{{end}}" - path: "/api/torrents/v2/filter?api_token={{ .Config.apikey }}&search={{ .Keywords }}{{ if .Query.IMDBIDShort }}&imdb={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TMDBID }}&tmdb={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdb={{ .Query.TVDBID }}{{ else }}{{ end }}{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&freeleech=1{{ else }}{{ end }}"
response: response:
type: json type: json

View File

@@ -306,6 +306,7 @@ namespace Jackett.Updater
"Definitions/czteam.yml", "Definitions/czteam.yml",
"Definitions/cztorrent.yml", "Definitions/cztorrent.yml",
"Definitions/darmowetorenty.yml", // migrated to C# "Definitions/darmowetorenty.yml", // migrated to C#
"Definitions/danishbytes.yml", // migrated to C#
"Definitions/DasUnerwartete.yml", "Definitions/DasUnerwartete.yml",
"Definitions/datascene.yml", // switch to *-API #8682 "Definitions/datascene.yml", // switch to *-API #8682
"Definitions/demonsite.yml", "Definitions/demonsite.yml",