if response.status != 200:
logger.error(
- f"Unexpected status {response.status} while fetching {url}; giving up."
+ f"Unexpected status {response.status} while fetching {url}: {response.reason}; giving up."
)
+ print(dir(response))
+ print(response.headers)
return False
raw = response.read()