When installed in accordance with lxml many online tutorials to introduce will find etree not come in time to be introduced using python3.6
Solution:
A, Import lxml.html
etree = lxml.html.etree
This enables the use of etree
two,
Lxml modified version is 4.2.5
Ignore error!
Source of the following links:
https://blog.csdn.net/weixin_42670402/article/details/82385716