Update pikpakapi/__init__.py
Browse files- pikpakapi/__init__.py +3 -1
pikpakapi/__init__.py
CHANGED
@@ -1113,7 +1113,9 @@ class PikPakApi:
|
|
1113 |
"share_id": share_id,
|
1114 |
"pass_code_token": pass_code_token,
|
1115 |
"file_ids": file_ids,
|
1116 |
-
"folder_type": "
|
|
|
|
|
1117 |
}
|
1118 |
captcha_result = await self.captcha_init(f"GET:/drive/v1/share/restore")
|
1119 |
self.captcha_token = captcha_result.get("captcha_token")
|
|
|
1113 |
"share_id": share_id,
|
1114 |
"pass_code_token": pass_code_token,
|
1115 |
"file_ids": file_ids,
|
1116 |
+
"folder_type": "NORMAL",
|
1117 |
+
"specify_parent_id" : true,
|
1118 |
+
"parent_id" : "",
|
1119 |
}
|
1120 |
captcha_result = await self.captcha_init(f"GET:/drive/v1/share/restore")
|
1121 |
self.captcha_token = captcha_result.get("captcha_token")
|