Node Jsdom Scrape Google's Reverse Image Search
问题 I want to programatically find a list of URLs for similar images given an image URL. I can't find any free image search APIs so I'm trying to do this by scraping Google's Search by Image. If I have an image URL, say http://i.imgur.com/oLmwq.png, then navigating to https://www.google.com/searchbyimage?&image_url=http://i.imgur.com/oLmwq.png gives related images and info. How do I get jsdom.env to produce the HTML your browser gets from the above URL? Here's what I've tried ( CoffeeScript ):