Skip to content

Page.printToPDF #15

@webblufter

Description

@webblufter

Note: i modified the code to handle multiple download requests simultaneously

[2025-08-30T00:04:30.831Z] Download error: ProtocolError: Protocol error (Page.printToPDF): Printing failed
at <instance_members_initializer> (file:///app/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:98:14)
at new Callback (file:///app/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:102:16)
at CallbackRegistry.create (file:///app/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:21:26)
at Connection._rawSend (file:///app/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js:95:26)
at CdpCDPSession.send (file:///app/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js:70:33)
at CdpPage.createPDFStream (file:///app/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js:794:63)
at async CdpPage.pdf (file:///app/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js:822:26)
at async file:///app/src/service/ScribdDownloader.js:101:13
at async file:///app/src/utils/request/PuppeteerSg.js:64:16
at async file:///app/node_modules/p-queue/dist/index.js:230:36

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions