Closed babycreeper189 closed 4 years ago
Nevermind
answer:
const pornsearch = require("pornsearch"); const search = new pornsearch("sex");
search.gifs(1) .then(gifs => { const gifurls = gifs.map(gif => gif.url); const gifsStrings = JSON.stringify(gifurls); const gifsite = JSON.parse(gifsStrings); const url = gifsite[1];
console.log(url)
});
Is this possable?