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

can't use http2 #43

Closed
harnnless opened this issue Dec 10, 2021 · 1 comment
Closed

can't use http2 #43

harnnless opened this issue Dec 10, 2021 · 1 comment

Comments

@harnnless
Copy link
Contributor

Test http2 with:

geziyor.NewGeziyor(&geziyor.Options{
StartURLs: []string{"https://http2.pro/api/v1"},
ParseFunc: func(g *geziyor.Geziyor, r *client.Response) {
	fmt.Println(string(r.Body))
},
RobotsTxtDisabled: true,
}).Start()

Get {"http2":0,"protocol":"HTTP\/1.1","push":0,"user_agent":"Geziyor 1.0"}

May related to golang/go#17051 ?

@musabgultekin
Copy link
Collaborator

Fixed issue

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

2 participants