Skip to content

[nodeJs] error downloading image with special characters #269

@geminigeek

Description

@geminigeek

hi,

i am using latest impit "impit": "^0.5.4" , having issue with images like this , same image works with got-scraping

  "https://images.puma.com/image/upload/f_auto,q_auto,b_rgb:fafafa,w_2000,h_2000/global/527647/34/fnd/IND/fmt/png/CLOUDSPUN-Men9s-Regul%E2%80%9ar-Fit-Emboss-Tank"

error

impit :>>  Impit {}
thread 'tokio-runtime-worker' panicked at impit-node/src/response.rs:67:59:
called `Result::unwrap()` on an `Err` value: ToStrError { _priv: () }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
node:internal/modules/run_main:122
    triggerUncaughtException(
    ^

[Error: Panic in async function] { code: 'GenericFailure' }

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-toolingIssues with this label are in the ownership of the tooling team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions