summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/misskey.py
diff options
context:
space:
mode:
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: