Python crawler static page crawl

usually after python crawls a static website, you can use xpath or css selectors to match elements, but what to do if the html element is dynamically formed by js after obtaining the data? open the page source code

clipboard.png
ul, ullijs

clipboard.png

how to match these data


needs to execute js.
you can try using webdriver


you can use the selenium simulation browser to load the js and then match it.

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-1b3baa6-2c2bb.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-1b3baa6-2c2bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?