Using Google Cache
Posted: May 19th, 2017, 2:44 pm
I've been playing around with Google Sheets and have made an interesting discovery which might be useful for users of other spreadsheets.
I found that using:
=IMPORTHTML(ʺhttp://www.dividenddata.co.uk/exdividenddate.p ... ,ʺtableʺ,1)
to extract dividend data does not work, I assume that it is somehow blocked by dividenddata.
However, asking the Google cache for the same data works:
=IMPORTHTML(ʺhttp://webcache.googleusercontent.com/search?q=cache:http://www.dividenddata.co.uk/exdividen ... ,ʺtableʺ,1)
A page can be obtained, as shown, by prefixing the URL with 'http://webcache.googleusercontent.com/search?q=cache:'
Of course there's no guarantee that the data in the cache will be up to date but for high volume sites and data that stays reasonably static, hour to hour, this may be a useful workaround.
RC
I found that using:
=IMPORTHTML(ʺhttp://www.dividenddata.co.uk/exdividenddate.p ... ,ʺtableʺ,1)
to extract dividend data does not work, I assume that it is somehow blocked by dividenddata.
However, asking the Google cache for the same data works:
=IMPORTHTML(ʺhttp://webcache.googleusercontent.com/search?q=cache:http://www.dividenddata.co.uk/exdividen ... ,ʺtableʺ,1)
A page can be obtained, as shown, by prefixing the URL with 'http://webcache.googleusercontent.com/search?q=cache:'
Of course there's no guarantee that the data in the cache will be up to date but for high volume sites and data that stays reasonably static, hour to hour, this may be a useful workaround.
RC