pass
def should_profanity_filter(self) -> bool:
- return False
+ return True
def find_title(self, item: ET.Element) -> Optional[str]:
return item.findtext("title")
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()