Skip to content

Commit

Permalink
adding new search engine nzbindex_beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Tensai75 committed Jul 13, 2024
1 parent 13085de commit d1f9509
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ Please also note that the macOS binaries are not signed.
Feel free to send pull requests.

## Change log
#### v0.1.15
- adding new serach engine nzbindex_beta

#### v0.1.14
- clean search string for NZBKing & url encode search string (should fix some issues with NZBKing)
- use cyan instead of blue
Expand Down
8 changes: 5 additions & 3 deletions defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,14 @@ best_nzb = true
# More than 1 server with the same order number is allowed
# Enable NZBIndex
nzbindex = 1
# Enable NZBIndex Beta
nzbindex_beta = 2
# Enable NZBKing
nzbking = 2
nzbking = 3
# Enable Binsearch
binsearch = 3
binsearch = 4
# Enable nzb direct search (settings for the nzb direct search required)
directsearch = 4
directsearch = 5
# Settings for the nzb direct search
[DIRECTSEARCH]
Expand Down
7 changes: 7 additions & 0 deletions searchengines.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ var searchEngines = SearchEngines{
jsonPath: "results.0.id",
search: jsonSearch,
},
"nzbindex_beta": SearchEngine{
name: "NZBIndex Beta",
searchURL: "https://beta.nzbindex.com/api/search?q=%s",
downloadURL: "https://beta.nzbindex.com/api/download/%s.nzb",
jsonPath: "data.content.0.id",
search: jsonSearch,
},
"nzbking": SearchEngine{
name: "NZBKing",
searchURL: "https://nzbking.com/?q=%s",
Expand Down

0 comments on commit d1f9509

Please sign in to comment.