diff --git a/docs/configuration.rst b/docs/configuration.rst index ff2bc3e7..a5f04435 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -4187,6 +4187,16 @@ Description Fetch media from replies to other notes. +extractor.[misskey].text-posts +------------------------------ +Type + ``bool`` +Default + ``false`` +Description + Also retrieve text-only notes without media content. + + extractor.[moebooru].pool.metadata ---------------------------------- Type diff --git a/docs/gallery-dl.conf b/docs/gallery-dl.conf index 5baf14cb..34ecc115 100644 --- a/docs/gallery-dl.conf +++ b/docs/gallery-dl.conf @@ -1081,7 +1081,8 @@ "access-token": null, "include" : ["notes"], "renotes" : false, - "replies" : true + "replies" : true, + "text-posts" : false }, "Nijie": diff --git a/gallery_dl/extractor/misskey.py b/gallery_dl/extractor/misskey.py index dd0af724..3e899128 100644 --- a/gallery_dl/extractor/misskey.py +++ b/gallery_dl/extractor/misskey.py @@ -248,8 +248,10 @@ class MisskeyAPI(): return self.extractor.request_json(url, method="POST", json=data) def _pagination(self, endpoint, data): + extr = self.extractor data["limit"] = 100 - data["withRenotes"] = self.extractor.renotes + data["withRenotes"] = extr.renotes + data["withFiles"] = False if extr.config("text-posts") else True while True: notes = self._call(endpoint, data)