summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/misskey.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-10-07 02:11:45 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-10-07 02:11:45 -0400
commitbbe7fac03d881662a458e7fbf870c9d71f5257f4 (patch)
treeb90b8974242d7fcb381e43c69c215c97c2e99197 /gallery_dl/extractor/misskey.py
parent42b62671fabfdcf983a9575221420d85f7fbcac1 (diff)
New upstream version 1.30.9.upstream/1.30.9
Diffstat (limited to 'gallery_dl/extractor/misskey.py')
-rw-r--r--gallery_dl/extractor/misskey.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gallery_dl/extractor/misskey.py b/gallery_dl/extractor/misskey.py
index 5ff601a..42eaeef 100644
--- a/gallery_dl/extractor/misskey.py
+++ b/gallery_dl/extractor/misskey.py
@@ -25,8 +25,8 @@ class MisskeyExtractor(BaseExtractor):
def _init(self):
self.api = MisskeyAPI(self)
self.instance = self.root.rpartition("://")[2]
- self.renotes = self.config("renotes", False)
- self.replies = self.config("replies", True)
+ self.renotes = True if self.config("renotes", False) else False
+ self.replies = True if self.config("replies", True) else False
def items(self):
for note in self.notes():
@@ -254,6 +254,8 @@ class MisskeyAPI():
def _pagination(self, endpoint, data):
data["limit"] = 100
+ data["withRenotes"] = self.extractor.renotes
+
while True:
notes = self._call(endpoint, data)
if not notes: