Giter Club home page Giter Club logo

Comments (5)

junyiz avatar junyiz commented on June 9, 2024

抓取哪个博客出现的呢?

from dature.

qchenac avatar qchenac commented on June 9, 2024

dature -t sina -u 1310876224
抱歉回晚了 老哥 之前出差 不记得是哪个博客了 回来用老电脑才在terminal里翻出来

from dature.

junyiz avatar junyiz commented on June 9, 2024

试了一下,不报错

from dature.

qchenac avatar qchenac commented on June 9, 2024

显示是可以抓取,但抓取完毕下面会显示以下内容,然后发现有些图片会漏抓,不知道咋回事
/usr/local/lib/node_modules/dature/node_modules/picture-downloader/pictureDownloader.js:26
const request = url.startsWith('https') ? https.request : http.request
^

TypeError: Cannot read properties of undefined (reading 'startsWith')
at pictureDownloader (/usr/local/lib/node_modules/dature/node_modules/picture-downloader/pictureDownloader.js:26:23)
at ClientRequest. (/usr/local/lib/node_modules/dature/node_modules/picture-downloader/pictureDownloader.js:41:33)
at ClientRequest.emit (node:events:390:28)
at Socket.socketCloseListener (node:_http_client:423:9)
at Socket.emit (node:events:402:35)
at TCP. (node:net:687:12)

Node.js v17.2.0

from dature.

junyiz avatar junyiz commented on June 9, 2024

已修复了

from dature.

Related Issues (20)

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.