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

能否加个参数,可以指定是否渲染 #1

Closed
netsafer opened this issue Apr 21, 2016 · 3 comments
Closed

能否加个参数,可以指定是否渲染 #1

netsafer opened this issue Apr 21, 2016 · 3 comments

Comments

@netsafer
Copy link

能否加个参数,可以指定是否渲染。
如果不渲染,就是普通的http请求,不走webkit

@zhegexiaohuozi
Copy link
Owner

未来一段时间内seimiAgent开发核心应该还是基于WebKit的相关特性。普通请求代理后续再考虑吧,不过,欢迎pull request哦!

在 2016年4月21日,18:19,netsafer notifications@github.com 写道:

能否加个参数,可以指定是否渲染。
如果不渲染,就是普通的http请求,不走webkit


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@netsafer
Copy link
Author

那有点小遗憾哦,毕竟如果不想渲染的情况也蛮多,不能浪费资源

@zhegexiaohuozi
Copy link
Owner

不渲染的情况完全可以不需要经过seimiAgent呀,直接请求即可啊。
这里可以参考seimiCrawler 的实现。

另外,直连代理意义不是很大,直连这种场景在任何语言下都有非常成熟的方案,都能做的很好,也没必要到seimiagent 这里绕一圈的

在 2016年4月21日,21:15,netsafer notifications@github.com 写道:

那有点小遗憾哦,毕竟如果不想渲染的情况也蛮多,不能浪费资源


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

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