slight tweak to URL fetching in stock.py