[gofile][pixeldrain] enable 'recursive' by default

This commit is contained in:
Mike Fährmann
2026-02-03 09:11:47 +01:00
parent 25d45478d6
commit d232f0d252
4 changed files with 6 additions and 6 deletions

View File

@@ -3491,7 +3491,7 @@ extractor.gofile.recursive
Type Type
``bool`` ``bool``
Default Default
``false`` ``true``
Description Description
Recursively download files from subfolders. Recursively download files from subfolders.
@@ -4862,7 +4862,7 @@ extractor.pixeldrain.recursive
Type Type
``bool`` ``bool``
Default Default
``false`` ``true``
Description Description
Recursively download files from subfolders. Recursively download files from subfolders.

View File

@@ -406,7 +406,7 @@
{ {
"api-token": null, "api-token": null,
"website-token": null, "website-token": null,
"recursive": false "recursive": true
}, },
"hdoujin": "hdoujin":
{ {
@@ -632,7 +632,7 @@
"pixeldrain": "pixeldrain":
{ {
"api-key" : null, "api-key" : null,
"recursive": false, "recursive": true,
"zip" : false "zip" : false
}, },
"pixiv": "pixiv":

View File

@@ -26,7 +26,7 @@ class GofileFolderExtractor(Extractor):
self.content_id = match[1] self.content_id = match[1]
def items(self): def items(self):
recursive = self.config("recursive") recursive = self.config("recursive", True)
password = self.config("password") password = self.config("password")
token = self.config("api-token") token = self.config("api-token")

View File

@@ -148,7 +148,7 @@ class PixeldrainFolderExtractor(PixeldrainExtractor):
} }
def items(self): def items(self):
recursive = self.config("recursive") recursive = self.config("recursive", True)
url = f"{self.root}/api/filesystem/{self.groups[0]}" url = f"{self.root}/api/filesystem/{self.groups[0]}"
stat = self.request_json(url + "?stat") stat = self.request_json(url + "?stat")