Download individual files instead of '.zip' bundle by default. https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3679504391
This commit is contained in:
@@ -11,7 +11,7 @@ __tests__ = (
|
||||
{
|
||||
"#url" : "https://k00.fr/cltf71jr",
|
||||
"#class" : koofr.KoofrSharedExtractor,
|
||||
"#results" : "https://app.koofr.net/content/links/923b4f56-3aaf-49ee-95e3-d85c52b687b0/files/get/wsf-form-job-application-form.json?path=/&force=",
|
||||
"#results" : "https://app.koofr.net/content/links/923b4f56-3aaf-49ee-95e3-d85c52b687b0/files/get/wsf-form-job-application-form.json?path=%2F&force",
|
||||
"#sha1_content": "f65ccc63a99165ecb9ff2ab92302c25b245a904f",
|
||||
|
||||
"contentType": "application/json",
|
||||
@@ -28,7 +28,7 @@ __tests__ = (
|
||||
{
|
||||
"#url" : "https://app.koofr.net/links/923b4f56-3aaf-49ee-95e3-d85c52b687b0",
|
||||
"#class" : koofr.KoofrSharedExtractor,
|
||||
"#results" : "https://app.koofr.net/content/links/923b4f56-3aaf-49ee-95e3-d85c52b687b0/files/get/wsf-form-job-application-form.json?path=/&force=",
|
||||
"#results" : "https://app.koofr.net/content/links/923b4f56-3aaf-49ee-95e3-d85c52b687b0/files/get/wsf-form-job-application-form.json?path=%2F&force",
|
||||
"#sha1_content": "f65ccc63a99165ecb9ff2ab92302c25b245a904f",
|
||||
|
||||
"contentType": "application/json",
|
||||
@@ -47,4 +47,58 @@ __tests__ = (
|
||||
"#class" : koofr.KoofrSharedExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://app.koofr.net/links/01deac62-f5d6-4d2b-7043-53b24cc0a038",
|
||||
"#comment" : "individual files",
|
||||
"#class" : koofr.KoofrSharedExtractor,
|
||||
"#options" : {"zip": False},
|
||||
"#pattern" : r"https://app\.koofr\.net/content/links/01deac62\-f5d6\-4d2b\-7043\-53b24cc0a038/files/get/smw_msu1\-\d+\.pcm\?path=%2Fsmw_msu1\-\d+\.pcm",
|
||||
"#count" : 18,
|
||||
|
||||
"contentType": "application/octet-stream",
|
||||
"count" : 18,
|
||||
"num" : range(1, 18),
|
||||
"date" : "type:datetime",
|
||||
"extension" : "pcm",
|
||||
"filename" : r"re:smw_msu1-\d+",
|
||||
"hash" : "hash:md5",
|
||||
"modified" : int,
|
||||
"name" : r"re:smw_msu1-\d+\.pcm",
|
||||
"size" : range(500_000, 20_000_000),
|
||||
"tags" : {},
|
||||
"type" : "file",
|
||||
"post" : {
|
||||
"count" : 18,
|
||||
"date" : "dt:2023-11-19 16:27:56",
|
||||
"id" : "01deac62-f5d6-4d2b-7043-53b24cc0a038",
|
||||
"title" : "Church of Kondo",
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://app.koofr.net/links/01deac62-f5d6-4d2b-7043-53b24cc0a038",
|
||||
"#comment" : ".zip container",
|
||||
"#class" : koofr.KoofrSharedExtractor,
|
||||
"#options" : {"zip": True},
|
||||
"#results" : "https://app.koofr.net/content/links/01deac62-f5d6-4d2b-7043-53b24cc0a038/files/get/Church of Kondo?path=%2F&force",
|
||||
|
||||
"contentType": "",
|
||||
"count" : 1,
|
||||
"date" : "dt:2023-11-19 16:27:56",
|
||||
"extension" : "",
|
||||
"filename" : "Church of Kondo",
|
||||
"modified" : 1700411276087,
|
||||
"name" : "Church of Kondo",
|
||||
"num" : 1,
|
||||
"size" : 0,
|
||||
"tags" : {},
|
||||
"type" : "dir",
|
||||
"post" : {
|
||||
"count" : 1,
|
||||
"date" : "dt:2023-11-19 16:27:56",
|
||||
"id" : "01deac62-f5d6-4d2b-7043-53b24cc0a038",
|
||||
"title" : "Church of Kondo",
|
||||
},
|
||||
},
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user