I would like to ask why this situation can not crawl the content of the tag.

as shown in the figure, only the tag is returned, but the content is gone. I haven"t been learning crawlers for long, and I don"t know why I"m wrong.

Mar.02,2021

you can test it in several ways, such as regular, or pyquery, to see if it is successful.
but in your case, the web page is mostly refreshed by ajax, or you set a time function to pause and then crawl.


check the source code of the page first. If there is no data you want, it means that the data is loaded asynchronously by ajax (currently, the vast majority of website data is loaded asynchronously). If the load is asynchronous, you need to find the URL, of the ajax to see the required parameters, and then simulate the request yourself.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35053-4d5fb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35053-4d5fb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?