correcting pixiv connection functionality

This commit is contained in:
2026-02-04 12:45:31 -05:00
parent cc19bbd372
commit 2190a9c16b
8 changed files with 315 additions and 13 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ async def _download_source_async(source_id: int, download_id: int = None) -> dic
cookies_path = None
auth_token = None
if source_platform == "discord":
if source_platform in ("discord", "pixiv"):
auth_token = await cred_manager.get_token(source_platform)
if not auth_token:
logger.warning(f"No token for {source_platform}, download may fail")