我是一名新的python编码器,我想从该网站(https://appexchange.salesforce.com/consulting)抓取所有数据,但是由于Show More
按钮的缘故,我无法全部抓取。
这是我的代码,请帮助。
from selenium import webdriver
from bs4 import BeautifulSoup
driver = webdriver.Chrome(executable_path = r'C:\Projects\WebScraping\chromedriver.exe')
url = 'https://appexchange.salesforce.com/consulting'
# create html page
driver.get(url)
#create soup
soup = BeautifulSoup(driver.page_source, 'lxml')