Giter Site home page Giter Site logo

zhentaoo / puppeteer-deep Goto Github PK

View Code? Open in Web Editor NEW
1.2K 43.0 243.0 16.85 MB

Puppeteer, Headless Chrome;爬取《es6标准入门》、自动推文到掘金、站点性能分析;高级爬虫、自动化UI测试、性能分析;

JavaScript 97.38% CSS 0.75% Pug 1.87%
puppeteer node chrome javascript headless-chrome

puppeteer-deep's Issues

centos 7 报错

[email protected] es6 /home/visionet/puppeteer-deep-master
rm -rf ./es6-pdf/* && node es6-crawl.js

(node:21859) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Failed to connect to chrome!
(node:21859) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

关于trace.json

那个json文件只能手动传吗,puppeteer有没有api能够直接帮忙解析处理呢

awesome-puppeteer

Hello,

I'm the maintainer of the awesome-puppeteer list. I'd really appreciate it if someone could describe what this library does in English so I could properly describe it on that page.

Thanks!
-- Travis

segmentfault的地址变了

segmentfault的前端地址变成了https://segmentfault.com/channel/frontend
每个文章下面有含有图片也有不包含图片的,所以有的就有2个a标签,有的有1个a标签
选择器应该怎么写呢,我是下面这样的,但是是错的
var list = [...document.querySelectorAll('.news-list .news__item-info a:not([class$="news-img"])')]

Chromium revision is not downloaded

运行时候一直报这个错误:
(node:10852) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): AssertionError: Chromium revision is not downloaded. Run npm install

(node:10852) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js pr
ocess with a non-zero exit code.
应该是没有安装好Chromium,试了网上的很多方法都不行,?能告诉我怎么解决这个问题吗?

hi why Error: Failed to connect to chrome!

(node:25038) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Failed to connect to chrome!
(node:25038) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

你好,请问按照readme的安装步骤运行以后发现是报这个错误 ,包括我自己写的例子也出现了这个 这是什么情况
node v8.2.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.