apify / got-scraping

HTTP client made for scraping based on got.
422 stars 32 forks source link

An error occurs after Electron builds #100

Open Stitch-cc opened 10 months ago

Stitch-cc commented 10 months ago

Issue 1: The header-generator dependency uses __dirname to get the built-in zip configuration file at initialization time, but asar doesn't seem to support reading it.

Is it possible to optimize the configuration to handle this issue rather than modifying the source code yourself? image

Issue 2: cloneResponse instantiating PassThrough does not seem to have autoDestroy: false configured, a similar configuration exists in fixDecompress.

image