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.

Menu