In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Do not use the default Windows command processor (CMD.exe)
Use PowerShell or a third-party command-line tool to execute Puppeteer, such as git bash that comes with Git.
Execute all kinds of error reports under cmd and start the Chromium page to crash directly.
Running Puppeteer under win2008 is not only slow, but also can only run single thread.
Obviously run well under win7, the same code runs under win2008 multithreading unexpectedly becomes single-threaded, and the running speed is relatively slow, preliminary judgment should be related to the operation of Chromium under win2008, google found that someone really encountered a similar situation, it is estimated that it should be related to the default network security configuration of win2008, and the solution is also simple, just add two lines of parameters.
Const browser = await puppeteer.launch ({args: ["--proxy-server='direct://'",'--proxy-bypass-list=*',]})
Reference:
Puppeteer with headless:true is extremely slow
Source: Puppeteer's pit under win2008 R2
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.