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

搜索结果只用了 url、title 和 snippet 吗? #41

Closed
miandai opened this issue Feb 2, 2024 · 1 comment
Closed

搜索结果只用了 url、title 和 snippet 吗? #41

miandai opened this issue Feb 2, 2024 · 1 comment

Comments

@miandai
Copy link

miandai commented Feb 2, 2024

如题,没有通过 url 抓取并解析网页内容吗?search_with_lepton.py 没看到相关实现(也可能看漏了~)

@Yangqing
Copy link
Contributor

Yangqing commented Feb 2, 2024

That's correct - only snippet.

You may also be able to get more information via the url - for example, crawl the page, pass it through beautifulsoup and extract the main text. We haven't implemented it and have found that snippets work fairly well as a demonstration.

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