From dd4447f756d00de9ffc0625bbbe379dce9e72c92 Mon Sep 17 00:00:00 2001 From: Tomuxs Date: Tue, 26 Aug 2025 18:15:03 +0200 Subject: [PATCH] Get response not body --- py34/post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py34/post.py b/py34/post.py index 4b4ffdc..0d8780b 100644 --- a/py34/post.py +++ b/py34/post.py @@ -36,7 +36,7 @@ class Post: if self._thumbnail_data is not None: return self._thumbnail_data for i in range(5): - res = scraper.get(ThumbnailURL(self.image_dir, self.image_id), retry=False) + res = scraper.get(ThumbnailURL(self.image_dir, self.image_id), retry=False, body=False) if res.status_code == 200: self._thumbnail_data = res.content if res.status_code == 404: