diff --git a/gallery_dl/extractor/xenforo.py b/gallery_dl/extractor/xenforo.py index 3dd73c42..a199ff82 100644 --- a/gallery_dl/extractor/xenforo.py +++ b/gallery_dl/extractor/xenforo.py @@ -352,7 +352,7 @@ class XenforoExtractor(BaseExtractor): def _extract_attachments(self, urls, post): for att in text.extract_iter(post["attachments"], ""): - urls.append((None, att[att.find('href="')+6:], None, None)) + urls.append((None, att[att.find(' href="')+7:], None, None)) def _extract_embeds(self, urls, post): for embed in text.extract_iter(