Skip to content

Instantly share code, notes, and snippets.

View chirayukong's full-sized avatar

Chirayu (Kong) Wongchokprasitti chirayukong

View GitHub Profile
@chirayukong
chirayukong / scrapeGoogleImages.js
Created August 18, 2017 16:33 — forked from flovv/scrapeGoogleImages.js
scrapeGoogleImages_file1
var url ='https://www.google.de/search?q=Yahoo+logo&source=lnms&tbm=isch&sa=X';
var page = new WebPage()
var fs = require('fs');
var vWidth = 1080;
var vHeight = 1920;
page.viewportSize = {
width: vWidth ,
height: vHeight