We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description:
NewHybridRequest
Example:
func (e *ExampleSpider) StartRequest(req chan<- *tegenaria.Context) { for i := 0; i < 20; i++ { for _, url := range e.GetFeedUrls() { // 生成新的request 对象 exampleLog.Infof("request %s", url) request := tegenaria.NewHybridRequest(url, tegenaria.GET, e.Parser) // 生成新的Context ctx := tegenaria.NewContext(request, e) // 将context发送到req channel time.Sleep(time.Second) req <- ctx } } }
The text was updated successfully, but these errors were encountered:
geebytes
No branches or pull requests
Description:
NewHybridRequest
for encapsulating a request that uses Chromium.Example:
The text was updated successfully, but these errors were encountered: