☞ ░Go to LaoYuanPython blog https://blog.csdn.net/LaoYuanPython ░
I. Introduction
In the first two sections, we introduced the method of locating the content of the HTML message by attributes and search methods. In addition to these two methods, there is another method to find the tag by using the syntax of the CSS selector. The css selector is not discussed here. Introduce, you can find the documentation by yourself, Lao Yuan recommends W3School's " CSS Selector Reference Manual ". In fact, there is no big problem if you don't understand it. Most of the content in this section is still well understood.
Two, select method
2.1. Grammar
select(selector,namespace=None,limit=None,