current position:Home>How to get child nodes of elements in HTML

How to get child nodes of elements in HTML

2022-04-29 05:21:41CSDN Q & A

This method just extracts the web page source code .
What should I do if I want to get the child nodes of some elements inside ?
For example, other child nodes in this element .
I use the following code to extract that it is empty , How can I get inside ?
Please give advice or comments

img

img

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/109/202204192016431877.html

Random recommended