fix tencent video schedule select

This commit is contained in:
pookz@stme
2024-03-15 18:40:49 +08:00
parent c4218dc6f3
commit 98907985d9
+2 -1
View File
@@ -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("月")')