新增更新token,提交素材,前测模板管理

This commit is contained in:
18610128193
2026-06-18 17:44:21 +08:00
parent c8ad49c736
commit 11f424a333
9 changed files with 648 additions and 62 deletions
+2 -2
View File
@@ -186,7 +186,7 @@ class DouyinRequest:
oauth_id: str,
url: str,
method: str = 'GET',
options: Optional[Dict[str, Any]] = None,
options: any = None,
) -> Any:
options = options or {}
token = await self.get_access_token(oauth_id)
@@ -229,7 +229,7 @@ class DouyinRequest:
await asyncio.sleep(wait_time)
continue
if code >= 50000:
if code == 50000:
await asyncio.sleep(i * 10)
continue