Closed jirimoravcik closed 2 years ago
e.g. having proxyUrl = 'http://username:a6%6qgx12345@127.0.0.1:8888' will throw Uncaught URIError: URI malformed (see https://github.com/apify/got-scraping/blob/master/src/agent/h1-proxy-agent.ts#L21) I think it should work even with such passwords
proxyUrl = 'http://username:a6%6qgx12345@127.0.0.1:8888'
Uncaught URIError: URI malformed
ref https://github.com/sindresorhus/got/issues/1317
This is correct, %6q is malformed. You need to percent-encode % as %25:
%6q
%
%25
http://username:a6%256qgx12345@127.0.0.1:8888
e.g. having
proxyUrl = 'http://username:a6%6qgx12345@127.0.0.1:8888'
will throwUncaught URIError: URI malformed
(see https://github.com/apify/got-scraping/blob/master/src/agent/h1-proxy-agent.ts#L21) I think it should work even with such passwordsref https://github.com/sindresorhus/got/issues/1317