Hello, I am having trouble trying to clear data from a website for modeling purposes (fantsylabs dotcom). I just hacked so forgive my ignorance in comp sci lingo. What I'm trying to accomplish is ...
Use selenium to enter the website and go to the data page.
url = "website url"
driver = webdriver.Firefox()
driver.get(url)
time.sleep(3)
username = driver.find_element_by_name('input')
password = driver.find_element_by_name('password')
username.send_keys('username')
password.send_keys('password')
login_attempt = driver.find_element_by_class_name("pull-right")
login_attempt.click()
link = driver.find_element_by_partial_link_text('Player Models')
link.click()
time.sleep(10)
scroll = driver.find_element_by_class_name("ag-body-viewport")
driver.execute_script("arguments[0].scrollIntoView();", scroll)
time.sleep(10)
html2 = driver.page_source
soup = BeautifulSoup(html2, "lxml", from_encoding="utf-8")
div = soup.find_all('div', {'class':'ag-pinned-cols-container'})
, , , (30 ), beautifulsoup. 300 , .... bs4 30 300. , javascript , html, bs4? ( Python request.get HTML-, )
, , -, phantomJS , , , "" , ?
driver = webdriver.PhantomJS()
, Ive / javascript, , .
:
( ). . .

, , , . Firefox(), , , . , .
/.