Why scrape when you can direct connect for free: <a href="http://www.freemarketdata.net">FreeMarketData.net</a>
That gives you free historic data and historic splits, plus you can get PE ratios, EPS, Yield, Dividend, etc.
There are some subscriptions offered but you can stick with the free...