Skip to content

Adding proxy options#17

Description

@omri08

Hi @spinlud 馃槃
What do you think about the option to add a proxy?
I saw this library or:
https://github.com/Cuadrix/puppeteer-page-proxy
for adding a proxy per page/request.

I think the best use case for this option will be in when we getting 429 too many requests.
We can add a proxy server from a list of proxy servers the user has and if this proxy server getting also 429 we will update again the proxy server.

we can maybe do something like this:

    ProxyListUserWantToUse = []
    scraper.on(events.scraper.error, (err) => {
        console.error(err);
        scraper.useProxy/updateProxy(takeNextProxyFromList())
    });

I don't have experience with puppeteer but if you think its something that can be done I don't mind dive into it 馃槃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions