I think url = '%s/T%d.expansion.html' % (content_url, t_num) should now just be url = '%s/T%d' % (content_url, t_num) for high-wire source.