Coder Social home page Coder Social logo

g-i-s's People

Contributors

alexhladin avatar jimkang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

g-i-s's Issues

Not working anymore

This module has stopped working a couple weeks ago.
It is not returning any information anymore.
As of it's description it is saying that in 2018 they
concluded it still worked. So my guess is that this module
has not been updated in that time frame.

Is there a update going to happen in the future ?

Limit images

Is there a way to limit the number of images returned as it takes quite a long while?

How to use proxy?

Hi!

Is it possible to use a proxy? What is the best interval to maintain with a single address?
I was blocked at 1000 ms intervals. Sorry for bad english ))

async?

It is a great work.
Can g-i-s support async and await?

I get a CORS error when I try to use it in my app served on local host, how do I fix this?

async getImgUrl(){
    var gis = require('g-i-s');
    gis('cats', logResults);
    
    function logResults(error, results) {
      if (error) {
        console.log(error);
      }
      else {
        console.log(JSON.stringify(results, null, '  '));
        return results[0]
      }
    }

yields this error: Access to fetch at 'http://images.google.com/search?tbm=isch&q=cats%20-site%3Agstatic.com' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I am running a cors-anywhere proxy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.