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

How to setup proxy? #1

Closed
guotie opened this issue Jan 25, 2017 · 3 comments
Closed

How to setup proxy? #1

guotie opened this issue Jan 25, 2017 · 3 comments

Comments

@guotie
Copy link

guotie commented Jan 25, 2017

This is a soooooooo great job! I love it.

And I have a question: How to setup proxy?

@kenshaw
Copy link
Member

kenshaw commented Jan 25, 2017

You need to configure chromedp/runner/Runner to use the Proxy flag:

c, err := chromedp.New(ctxt, chromedp.WithRunnerOptions(
    runner.Proxy(`http://localhost:8000/`),
))

@milgov
Copy link

milgov commented Jul 2, 2019

How it use at now? runner package does not exists.

@mvdan
Copy link
Contributor

mvdan commented Jul 2, 2019

There was a refactor. If you want to use the example above as-is, use v0.1. Otherwise, see https://godoc.org/github.com/chromedp/chromedp#ProxyServer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants