Artificial intelligent assistant

JavaScriptスクレイピングとして puppeteer で画像やZipファイルなどをダウンロードしたい node.js puppeteer chrome URL - Wikipedia < < URL[Cat_with_goldfish.jpg]puppeteer < puppeteercheerio-httpcli cheerio-httpcli puppeteerChrome

const page = await browser.newPage();
await page.goto('
const client = await page.target().createCDPSession();
await client.send('Page.setDownloadBehavior', { behavior: 'allow', downloadPath: process.cwd() });
await page.click('a[href="wbord262.zip"]');


downloadPath (※)


$ node -v
v8.11.1
"puppeteer": "^1.4.0"

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy fbbd3362f27cc2225ffe8f9047835083