correct variable name
import requests for HTTP exception
save to CSV file as well