Skip to content

Proxy server #138

@lollita

Description

@lollita

Do it is possibile to use a Proxy server or Socks server?

const scraper = new Scraper({ fetch: (url, options = {}) => {
	return fetch(url, {
		...options,
		agent: new HttpsProxyAgent("http://127.0.0.1:8080")
		//agent: new SocksProxyAgent('socks5h://127.0.0.1:1080')
	});
}});

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions