Add space around `+`, or even better: `page_url = 'http://www.gucomics.com/%s' % pub_date.strftime('%Y%m%d')`