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

发现了些小瑕疵 #5

Closed
Just4Learning opened this issue Dec 21, 2017 · 1 comment
Closed

发现了些小瑕疵 #5

Just4Learning opened this issue Dec 21, 2017 · 1 comment

Comments

@Just4Learning
Copy link

【1】文字修改

Image text
这里译者应该想表达的是“find_next_siblings()和find_next_sibling()”的意思。

【2】CSS选择器使用的一个示例报错

Image text
如果照着写作【soup.select("p nth-of-type(3)"】会报错:【ValueError: Unsupported or invalid CSS selector: "nth-of-type(3)"】。
解决的办法可能是写作【soup.select("p:nth-of-type(3)"】。

@DeronW
Copy link
Owner

DeronW commented Jan 6, 2018

多谢指正, 已经修复

见最新文档 http://beautifulsoup.readthedocs.io/zh_CN/latest/

@DeronW DeronW closed this as completed Jan 6, 2018
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