Getting data from a site, which cant be found in main HTML file in Python -


i'am using python , making request: page = requests.get('http://www.finam.ru/profile/moex-akcii/aeroflot/news/?start-date=2016-01-01&end-date=2016-12-31',auth=('user', 'pass'))

i expect, able find everything, can see, when view website. dont know certian , not familiar libraries, try check manually:

  1. i rightclick on random part of page , select "show page code". , actually, can not find needed info there!
  2. i rightclick on random part of page , select "research element", , can find there in wierd "tree" structure : research item

so question is, html file recieve, when making request? , how retrive topic names "tree structure". total noob html.

besides source html, there javascript code running on web site, manipulate , change dom (the tree structure describe). when request via python, javascript code not run can see initial html code. doing such stuff called scraping , can tools such selenuim


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -