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

Navigate timeout #135

Closed
redkit75 opened this issue Jan 3, 2023 · 1 comment
Closed

Navigate timeout #135

redkit75 opened this issue Jan 3, 2023 · 1 comment

Comments

@redkit75
Copy link

redkit75 commented Jan 3, 2023

fixed

@redkit75 redkit75 mentioned this issue Jan 5, 2023
Merged
@redkit75 redkit75 changed the title Navigate timeout - Bounty for contributor fixed Jan 6, 2023
@redkit75 redkit75 changed the title fixed Navigate timeout Jan 6, 2023
@HeisenbergV
Copy link
Contributor

HeisenbergV commented Jan 7, 2023

#105 (comment)

cause:

//intercept_request.go


func (tab *Tab) InterceptRequest(v *fetch.EventRequestPaused) {
         // .....
	// 静态资源 全部阻断
	// https://github.com/Qianlitp/crawlergo/issues/106
	if config.StaticSuffixSet.Contains(url.FileExt()) {
		_ = fetch.FailRequest(v.RequestID, network.ErrorReasonBlockedByClient).Do(ctx)
		req.Source = config.FromStaticRes
		tab.AddResultRequest(req)
		return
	}
       //... 

@pengdaCN pengdaCN closed this as completed Jul 5, 2023
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

3 participants