From 7f8e47d4834a9d38c051290ddac6697eeeaa821c Mon Sep 17 00:00:00 2001 From: Liang Cai Date: Tue, 6 Jun 2023 01:53:20 +0800 Subject: [PATCH] Update aliplat.py list with v3 --- b2a/aliplat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2a/aliplat.py b/b2a/aliplat.py index 35fec22..7586636 100644 --- a/b2a/aliplat.py +++ b/b2a/aliplat.py @@ -112,7 +112,7 @@ def list(self, remotePath: str, nextMarker: str = None) -> List[FileAttr]: try: requests_data = {"drive_id": self.driveId, "parent_file_id": sid, 'marker': nextMarker, 'limit': 100} - requests_post = requests.post('https://api.aliyundrive.com/v2/file/list', + requests_post = requests.post('https://api.aliyundrive.com/adrive/v3/file/list', data=json.dumps(requests_data), headers=self.headers, verify=False).json()