fix(web-search): update chatgpt url

This commit is contained in:
heytulsiprasad 2024-09-10 18:47:29 +05:30
commit abec8f83c8
2 changed files with 9 additions and 9 deletions

View file

@ -50,17 +50,17 @@ Available search contexts are:
| `npmpkg` | `https://www.npmjs.com/search?q=` | | `npmpkg` | `https://www.npmjs.com/search?q=` |
| `packagist` | `https://packagist.org/?query=` | | `packagist` | `https://packagist.org/?query=` |
| `gopkg` | `https://pkg.go.dev/search?m=package&q=` | | `gopkg` | `https://pkg.go.dev/search?m=package&q=` |
| `chatgpt` | `https://chat.openai.com?q=` | | `chatgpt` | `https://chatgpt.com/?q=` |
Also there are aliases for bang-searching DuckDuckGo: Also there are aliases for bang-searching DuckDuckGo:
| Context | Bang | | Context | Bang |
| --------- | ----- | | ------- | ---- |
| `wiki` | `!w` | | `wiki` | `!w` |
| `news` | `!n` | | `news` | `!n` |
| `map` | `!m` | | `map` | `!m` |
| `image` | `!i` | | `image` | `!i` |
| `ducky` | `!` | | `ducky` | `!` |
### Custom search engines ### Custom search engines

View file

@ -31,7 +31,7 @@ function web_search() {
npmpkg "https://www.npmjs.com/search?q=" npmpkg "https://www.npmjs.com/search?q="
packagist "https://packagist.org/?query=" packagist "https://packagist.org/?query="
gopkg "https://pkg.go.dev/search?m=package&q=" gopkg "https://pkg.go.dev/search?m=package&q="
chatgpt "https://chat.openai.com?q=" chatgpt "https://chatgpt.com/?q="
) )
# check whether the search engine is supported # check whether the search engine is supported