diff --git a/lake_scrapers/scrapers/seatemperatureinfo.py b/lake_scrapers/scrapers/seatemperatureinfo.py index fc70379..e99a203 100644 --- a/lake_scrapers/scrapers/seatemperatureinfo.py +++ b/lake_scrapers/scrapers/seatemperatureinfo.py @@ -61,7 +61,10 @@ def parse(self, response, **kwargs): regex = self.data[path]["regex"] content: str = response.text matches = regex.search(content) - temperature = matches.group("temperature") + try: + temperature = matches.group("temperature") + except AttributeError: + print(content) timestamp = datetime.now().timestamp() timestamp = convert_timestamp(timestamp, is_timestamp=True)