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

解决google不能翻页问题 #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ var SITEINFO=[
iloaded:false, //是否在iframe完全load之后操作..否则在DOM完成后操作.
itimeout:0, //延时多少毫秒后,在操作..
newIframe: false, // 下一页使用新的 iframe,能解决按钮无法点击的问题
pageElement: '//div[@id="ires"]', //主体内容 xpath 或 CSS选择器 或函数返回值(~~必须~~)
pageElement: '//div[@id="rso"]', //主体内容 xpath 或 CSS选择器 或函数返回值(~~必须~~),20191201 tjlbj 改
// pageElement:'css;div#ires',
//pageElement:function(doc,win){return doc.getElementById('ires')},
//filter:'//li[@class="g"]', //(此项功能未完成)xpath 或 CSS选择器从匹配到的节点里面过滤掉符合的节点.
Expand Down