This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//custom-search-apikey.js | |
/* | |
//Replace with your own api key and credentials | |
const googleCustomSearchApiKey = "BJzaSyCkY6EYcaQlbq57TqXosLEHdG3olY81WLA"; | |
const cx = "0115429292988874712327:lo4lvgeu1bq"; | |
module.exports = { googleCustomSearchApiKey, cx }; | |
*/ | |
const customSearchCredentials = require("./config/custom-search-apikey"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const puppeteer = require("puppeteer"); | |
const cheerio = require("cheerio"); | |
const sample = { | |
guests: 1, | |
bedrooms: 1, | |
beds: 1, | |
baths: 1, | |
pesosPerNight: 350 | |
}; |
NewerOlder