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

Render js not working #9

Closed
bakatest-me opened this issue Jul 25, 2019 · 2 comments
Closed

Render js not working #9

bakatest-me opened this issue Jul 25, 2019 · 2 comments
Assignees

Comments

@bakatest-me
Copy link

        url := "https://www.jd.co.th/product/1.2_160677.html"
	geziyor.NewGeziyor(&geziyor.Options{
		StartRequestsFunc: func(g *geziyor.Geziyor) {
			g.GetRendered(url, g.Opt.ParseFunc)
		},
		ParseFunc: func(g *geziyor.Geziyor, r *client.Response) {
			fmt.Println("[x] bakatest ", string(r.Body))
		},
	}).Start()
@musabgultekin musabgultekin self-assigned this Jul 25, 2019
@musabgultekin
Copy link
Collaborator

What did you get on println when you use this code?
What was problem? was it only empty response?

@musabgultekin
Copy link
Collaborator

I commited a possible bugfix for you: e07ef4d

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