Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Err unescaped characters #1

Merged
merged 3 commits into from
Jan 1, 2022

Conversation

duraes-antonio
Copy link
Member

Problem:
When downloading some images with special characters in the URL, "TypeError [ERR_UNESCAPED_CHARACTERS] Request path contains unescaped characters" error occurred.

Solution:
Use node's URL lib to encode the url.

@duraes-antonio duraes-antonio added the bug Something isn't working label Jan 1, 2022
@duraes-antonio duraes-antonio merged commit 449f835 into master Jan 1, 2022
@duraes-antonio duraes-antonio deleted the fix/err_unescaped_characters branch January 1, 2022 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant