I am new of web scraping and for one of the project I am working on, I need to retrieve data of bitcoin transactions over time from an interactive chart (https://bitinfocharts.com/comparison/bitcoin-transactions.html) using Python 2.7. I found that all the data I want is hidden in the 855x455 canvas instead of directly in the html file. However, I could find those data in Page source in the form of [new Date("2018/02/18"),159333]]. Why is that? And how can I scrape those data? Appreciate for the help!
解决方案
On looking the html response I found that there is a script tag with all the entires added in Canvas.
var gIsLog = 0;
var gIsZoomed = "";
var d;
$(function() {
$(".average").each(function() {
$(this).html('Average ' + $(this).html());
});
$(".simple"