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

tinysou如何自定义搜索内容呢? #19

Open
ypan887 opened this issue Aug 31, 2015 · 0 comments
Open

tinysou如何自定义搜索内容呢? #19

ypan887 opened this issue Aug 31, 2015 · 0 comments

Comments

@ypan887
Copy link

ypan887 commented Aug 31, 2015

我用网站的爬虫工具爬了我的网站,现在我随便打开一item,可以看到里面的body schema里面收录了当前页面的全部文字,包括侧边栏和导航栏里的文字。阅读了文档后我试着在var option里面添加searchFetch来限制搜索行为只搜索item的['title','sections'],但是添加了这个option后,搜索框就不能工作了。请问是我的思路不对还是怎么的。另外有没有办法让爬虫只爬body里面某个tag的内容呢(忽略所有侧边栏,导航栏的文本)?谢谢

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

1 participant