Skip to content

Commit

Permalink
surfingkeys: fix wikipedia search url
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-courtis committed Nov 29, 2022
1 parent 5f01b0a commit 8fe1dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/surfingkeys/sk.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ createSearch('e', 'g', 'Google', 'https://www.google.com/search?q=', 's', 'https
var res = JSON.parse(response.text);
return res[1];
});
createSearch('e', 'wi', 'Wikipedia', 'https://en.wikipedia.org/wiki/', 's', 'https://en.wikipedia.org/w/api.php?action=opensearch&format=json&formatversion=2&namespace=0&limit=40&search=', function(response) {
createSearch('e', 'wi', 'Wikipedia', 'https://en.wikipedia.org/w/index.php?search=', 's', 'https://en.wikipedia.org/w/api.php?action=opensearch&format=json&formatversion=2&namespace=0&limit=40&search=', function(response) {
return JSON.parse(response.text)[1];
});
createSearch('e', 'y', 'YouTube', 'https://www.youtube.com/results?search_query=', 's',
Expand Down

0 comments on commit 8fe1dd5

Please sign in to comment.