Commit ab56688c authored by 姚广胤's avatar 姚广胤

更新网址

parent f5060ab2
......@@ -8,7 +8,7 @@ const request = require('request');
let theBrowser = null
const websiteUrl = 'https://m.7ho.com/item/detail?id=333&channelId=21524';
const websiteUrl = 'https://m.wselearning.com/ftsalonreg/index.html?winType=DB1712FTS';
const uploadFileUrl = 'upload.com/upload';
// 启动puppeteer
......@@ -32,7 +32,7 @@ puppeteer.launch({
// 页面渲染完毕后,开始截图
await page.screenshot({
path: './dashboard_shot.png',
path: './xxx1.png',
clip: {
x: 0,
y: 0,
......@@ -64,4 +64,4 @@ puppeteer.launch({
// })
}).catch(error => {
theBrowser.close();
});
\ No newline at end of file
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment