From 98907985d912dba18dc6b4ba5cf2c035f9531623 Mon Sep 17 00:00:00 2001 From: "pookz@stme" Date: Fri, 15 Mar 2024 18:40:49 +0800 Subject: [PATCH] fix tencent video schedule select --- tencent_uploader/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tencent_uploader/main.py b/tencent_uploader/main.py index b85f204..4329058 100644 --- a/tencent_uploader/main.py +++ b/tencent_uploader/main.py @@ -93,7 +93,8 @@ class TencentVideo(object): await page.click('input[placeholder="请选择发表时间"]') - current_month = str(publish_date.month) + "月" + str_month = str(publish_date.month) if publish_date.month > 9 else "0" + str(publish_date.month) + current_month = str_month + "月" # 获取当前的月份 page_month = await page.inner_text('span.weui-desktop-picker__panel__label:has-text("月")')