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

ProxyUrl not accepted: "(array proxyUrls) Expected property string values to be a URL, got " #2362

Closed
1 task
itinance opened this issue Feb 25, 2024 · 1 comment
Labels
bug Something isn't working.

Comments

@itinance
Copy link

Which package is this bug report for? If unsure which one to select, leave blank

@crawlee/cheerio (CheerioCrawler)

Issue description

Using proxy-Endpoints provided from oxylabs will not be recognized as valid proxy-urls:

Code sample

const proxyConfiguration = new ProxyConfiguration({
  proxyUrls: [
    'https://customer-xxx-cc-be-city-brussels-sessid-yyyy-sesstime-10:pppppppppp@pr.oxylabs.io:7777',
  ],
});
proxyConfiguration.isManInTheMiddle = true;

    const crawler = new CheerioCrawler( {
        minConcurrency: 1,
        maxConcurrency: 1,

        proxyConfiguration: proxyConfiguration,

        // On error, retry each page at most once.
        maxRequestRetries: 1,

....})

Package version

3.5.8

Node.js version

18.6

Operating system

MacOS Ventura 13.0.1

Apify platform

  • Tick me if you encountered this issue on the Apify platform

I have tested this on the next release

No response

Other context

No response

@itinance itinance added the bug Something isn't working. label Feb 25, 2024
@itinance
Copy link
Author

This was caused by a special character in the password.

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

No branches or pull requests

1 participant