pipebits / general-search-engine

This module will allow you to search for modules in npm, images in google, repos in github... without any API KEY
MIT License
12 stars 2 forks source link

IMAGE NOT FOUND error on any request #2

Open zptr1 opened 3 years ago

zptr1 commented 3 years ago

I am using the latest version of the package and node v16.6.1 When I try to use search type, it works fine, but when I use image with any request it errors with [IMAGE NOT FOUND]

Code I used:

const gse = require('general-search-engine');

(async () => {
    const results = await new gse.search()
        .setType("image")
        .setQuery("test")
        .run();
    console.log(results);
})().catch(console.error);

Output from console:

$ npm i general-search-engine

added 3 packages, and audited 4 packages in 2s

found 0 vulnerabilities

$ node index
[IMAGE NOT FOUND]
zptr1 commented 3 years ago

Same error for search: [PAGE NOT FOUND]

magneum commented 2 years ago

This npm package is of no use brother.. Please Fix image