Merge pull request #12 from thewarden/fix-tvdb

fix: correct tvdb link parameter
This commit is contained in:
Jeroen 2020-08-07 03:11:40 +02:00 committed by GitHub
commit 3cbb7a78a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -87,7 +87,7 @@ function search(text) {
window.location = "https://trakt.tv/search?query=" + subtext; window.location = "https://trakt.tv/search?query=" + subtext;
break; break;
case "tv": case "tv":
window.location = "https://www.thetvdb.com/search?q=" + subtext; window.location = "https://www.thetvdb.com/search?query=" + subtext;
break; break;
case "y": case "y":
window.location = "https://www.youtube.com/results?search_query=" + subtext; window.location = "https://www.youtube.com/results?search_query=" + subtext;

View file

@ -9,7 +9,7 @@
{"name":"Qwant","url":"https://www.qwant.com/?q=","prefix":"/q"}, {"name":"Qwant","url":"https://www.qwant.com/?q=","prefix":"/q"},
{"name":"Soundcloud","url":"https://soundcloud.com/search?q=","prefix":"/so"}, {"name":"Soundcloud","url":"https://soundcloud.com/search?q=","prefix":"/so"},
{"name":"Spotify","url":"https://open.spotify.com/search/results/","prefix":"/s"}, {"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"} {"name":"Trakt","url":"https://trakt.tv/search?query=","prefix":"/t"}
] ]
} }