By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,251 Members | 2,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,251 IT Pros & Developers. It's quick & easy.

I want to the actual data behind the graph on the webpage

P: 1
I tried to scrap the data available in behind the graph on webpage. I don't found storage data in source code(html page).

I tried to found data in html page but it not found. Then i tried to another way -goto inspect --> then Network --> click on XHR -->then reload page

Expand|Select|Wrap|Line Numbers
  1. from bs4 import BeautifulSoup 
  2. import urllib.request
  3. import _csv
  4. import  pandas as pd
  5. urlpage= ''
  7. page = urllib.request.urlopen(urlpage)
  9. data = page.content
I want to actual data in dataframe.
Attached Images
File Type: jpg stack.jpg (186.5 KB, 13 views)
2 Weeks Ago #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.