Obtain javascript result

abaco121 at gmail.com abaco121 at gmail.com
Fri Dec 30 02:19:36 EST 2016


Hi,
there's a problem in betexplorer?
this php page dont response anything to get odds

http://www.betexplorer.com/soccer/russia/youth-\league/matchdetails.php?matchid=rLu2Xsdi

from 24 december dont work

thanxs



Il giorno domenica 23 ottobre 2016 20:09:30 UTC+2, epr... at gmail.com ha scritto:
> 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