diff --git a/gallery_dl/extractor/exhentai.py b/gallery_dl/extractor/exhentai.py index 927b5014..c4bcfdf5 100644 --- a/gallery_dl/extractor/exhentai.py +++ b/gallery_dl/extractor/exhentai.py @@ -412,7 +412,12 @@ class ExhentaiGalleryExtractor(ExhentaiExtractor): def _validate_signature(self, signature): """Return False if all file signature bytes are zero""" if signature: - if signature[0]: + byte = signature[0] + if byte: + # 60 == b"<" + if byte == 60 and b"