From 5c0057269eb16aaf354c47e228a829d693fe30f7 Mon Sep 17 00:00:00 2001 From: adamwinn Date: Sat, 8 Apr 2017 19:53:07 -0600 Subject: [PATCH] Fix error when pressing the Test button for TPB (#1248) * Fix error when pressing the Test button for TPB. This will remove searching by category for the time being. * Change HDPter to Ourbits --- README.md | 2 +- src/Jackett/Definitions/{hdpter.yml => ourbits.yml} | 6 +++--- src/Jackett/Definitions/thepiratebay.yml | 6 +++++- src/Jackett/Jackett.csproj | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) rename src/Jackett/Definitions/{hdpter.yml => ourbits.yml} (94%) diff --git a/README.md b/README.md index 78572ff46..7bba2215f 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * HDBits * HDClub * HDHome - * HDPter * HDSky * HDTorrents.it * Hebits @@ -143,6 +142,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * NextGen * Norbits [![(invite needed)][inviteneeded]](#) * notwhat.cd + * Ourbits * Passione Torrent * PassThePopcorn [![(invite needed)][inviteneeded]](#) * PirateTheNet diff --git a/src/Jackett/Definitions/hdpter.yml b/src/Jackett/Definitions/ourbits.yml similarity index 94% rename from src/Jackett/Definitions/hdpter.yml rename to src/Jackett/Definitions/ourbits.yml index bed6b8d61..8c70b9cbd 100644 --- a/src/Jackett/Definitions/hdpter.yml +++ b/src/Jackett/Definitions/ourbits.yml @@ -1,11 +1,11 @@ --- - site: hdpter - name: HDPter + site: ourbits + name: Ourbits language: zh-cn type: private encoding: UTF-8 links: - - https://www.hdpter.net/ + - https://ourbits.club/ caps: categorymappings: diff --git a/src/Jackett/Definitions/thepiratebay.yml b/src/Jackett/Definitions/thepiratebay.yml index 9665ba4f7..239535f8b 100755 --- a/src/Jackett/Definitions/thepiratebay.yml +++ b/src/Jackett/Definitions/thepiratebay.yml @@ -73,7 +73,11 @@ settings: [] search: - path: "{{if .Query.Keywords}}search/{{ .Query.Keywords}}{{else}}{{end}}/0/99/{{range .Categories}}{{.}}{{end}}" + path: "{{if .Query.Keywords}} + search/{{ .Query.Keywords}}/0/99/ + {{else}} + /recent + {{end}}" rows: selector: "#searchResult tbody tr:has(td.vertTh)" fields: diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index b10f28910..87d58755b 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -678,7 +678,7 @@ PreserveNewest - + PreserveNewest