dopecodez / Wikipedia

Wikipedia for node and the browser
MIT License
82 stars 19 forks source link

Error with proxy #39

Closed jjinkou2 closed 1 year ago

jjinkou2 commented 2 years ago

How can i use it with a proxy ? I have this error

searchError: wikiError: FetchError: request to https://en.wikipedia.org/w/api.php?list=search&srprop=&srlimit=3&srsearch=Who%20is%20Harry%20Potter?&srinfo=suggestion&format=json&redirects=&action=query&o
rigin=*& failed, reason: connect ECONNREFUSED 185.15.58.224:443
    at AsyncFunction.wiki.search (D:\developpement\Nodejs\wikipedia\node_modules\wikipedia\dist\index.js:55:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async D:\developpement\Nodejs\wikipedia\index.js:5:31 {
  code: undefined
}
dopecodez commented 2 years ago

Could you give us the proxy for where you are seeing this error? For me with public proxies wikipedia is working fine

dopecodez commented 1 year ago

CLosing this issue as stale because of no new updates.