How to scrape a javascript table with python -


i trying scrape table page: http://data.eastmoney.com/xg/xg/ there 18 separate pages , url not change each page.

how go trying scrape data? use beautifulsoup scrape html pages, in case data not come in html code, cannot use beautifulsoup on url data need.

any suggestions appreciated.

well looking @ source of page making call url seems returning csv type file can figure out how process.

http://datainterface.eastmoney.com/em_datacenter/js.aspx?type=ns&sty=nsst&st=12&sr=-1&p=1&ps=50&js=var%20ibnvrrwa={pages:%28pc%29,data:[%28x%29]}&stat=1&rt=47876809

the bottom line shouldn't need scrape table

look @ &ps=50 value limit, put &ps=5000 , shouldn't need page page.

the &js=var%20ibnvrrwa={pages:%28pc%29,data:[%28x%29]} bit jsonp callback?


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -