Obtain javascript result

eproser at gmail.com eproser at gmail.com
Sun Oct 23 14:09:17 EDT 2016


Ok, I solved to this way:

from bs4 import BeautifulSoup
from selenium import webdriver

driver = webdriver.Chrome()
driver.get('http://www.betexplorer.com/soccer/russia/youth-\league/matchdetails.php?matchid=rLu2Xsdi')

pg_src = driver.page_source
driver.close()
soup = BeautifulSoup(pg_src, 'html.parser')
# start from here I do something with soup ...

Windows 10 / Python 3.5.2

Thanks





More information about the Python-list mailing list