Fix pull_json.py to add URLError.