爬虫的xpath

‘return document.body.scrollHeight’

‘window.scrollTo(0,-200)’

‘window.scrollTo(0,document.body.scrollHeight)’

‘return document.body.scrollHeight’

url = ‘https://www.heycan.com/material#paster’

‘xpath’, ‘//*[@id=“root”]/section/main/section/div/div[2]/div[1]/div/input’

‘xpath’,‘//*[@id=“root”]/section/main/section/ul/li[2]’

‘xpath’, ‘//*[@id=“root”]/section/main/section/div[2]/div’

猜你喜欢

转载自blog.csdn.net/qq_30129009/article/details/131608572