Skip to content

proxy example #20

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

Closed
wants to merge 1 commit into from
Closed

proxy example #20

wants to merge 1 commit into from

Conversation

DeadNumbers
Copy link

No description provided.

}
options = append(options, chromedp.DefaultExecAllocatorOptions[:]...)

c, cc := chromedp.NewExecAllocator(ctx, options...)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actx, ctx := ...


c, cc := chromedp.NewExecAllocator(ctx, options...)
defer cc()
// create context
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

@@ -0,0 +1,31 @@
package main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a package doc, like:

// Package main shows how to use chromedp via a proxy. In this case, we're connecting via SOCKS5 to a proxy running on port 9050 on the local machine.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would one use a socks5 proxy with auth?

@kenshaw kenshaw closed this Mar 24, 2021
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

Successfully merging this pull request may close these issues.

4 participants