summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Douglas <foobar@adamsdesk.com>2020-07-29 18:42:53 -0600
committerAdam Douglas <foobar@adamsdesk.com>2020-07-29 18:42:53 -0600
commit0aff01f2204e0312b8ed6f671121f6fbfe5cad77 (patch)
tree19a3191a6ce8b4fc44010fa7e0134ac50aa1296a
parent4ca0116de42dae6310a931349b26d0bbe70148b6 (diff)
fix: correct link parameter
-rwxr-xr-xassets/js/search.js4
-rwxr-xr-xproviders.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/assets/js/search.js b/assets/js/search.js
index 9dcdee7..7d3cc76 100755
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -87,7 +87,7 @@ function search(text) {
window.location = "https://trakt.tv/search?query=" + subtext;
break;
case "tv":
- window.location = "https://www.thetvdb.com/search?q=" + subtext;
+ window.location = "https://www.thetvdb.com/search?query=" + subtext;
break;
case "y":
window.location = "https://www.youtube.com/results?search_query=" + subtext;
@@ -139,4 +139,4 @@ function containsProtocol(str) {
String.prototype.replaceAll = function(search, replacement) {
var target = this;
return target.split(search).join(replacement);
-}; \ No newline at end of file
+};
diff --git a/providers.json b/providers.json
index 8aa3305..a7cdc68 100755
--- a/providers.json
+++ b/providers.json
@@ -9,7 +9,7 @@
{"name":"Qwant","url":"https://www.qwant.com/?q=","prefix":"/q"},
{"name":"Soundcloud","url":"https://soundcloud.com/search?q=","prefix":"/so"},
{"name":"Spotify","url":"https://open.spotify.com/search/results/","prefix":"/s"},
- {"name":"TheTVDB","url":"https://www.thetvdb.com/search?q=","prefix":"/tv"},
+ {"name":"TheTVDB","url":"https://www.thetvdb.com/search?query=","prefix":"/tv"},
{"name":"Trakt","url":"https://trakt.tv/search?query=","prefix":"/t"}
]
-} \ No newline at end of file
+}