diff --git a/bin/importer.py b/bin/importer.py index 6c9d315..dac5e34 100755 --- a/bin/importer.py +++ b/bin/importer.py @@ -77,7 +77,7 @@ def _fetch(self) -> Path | None: response = requests.get(self.json_db_url, headers=headers) self.logger.info('Fetching done.') if content := response.content: - if content[0] == b'<': + if content[0] == 60: # 60 is b'<' self.logger.error('Got the dumb JS page, will try again later...') return None