Changed in response to code review at https://github.com/brannerchinese/stockscrape/pull/1 (not all changes implemented as suggested).