Skip to content

Commit 678ce1b

Browse files
committed
fix: bilibili bugfix
1 parent 457205e commit 678ce1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

media_platform/bilibili/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ async def start(self):
9696
utils.logger.info(
9797
"[BilibiliCrawler.start] Bilibili Crawler finished ...")
9898

99-
async def get_pubtime_datetime(self, start: str = config.START_DAY, end: str = config.END_DAY) -> tuple[str, str]:
99+
@staticmethod
100+
async def get_pubtime_datetime(start: str = config.START_DAY, end: str = config.END_DAY) -> Tuple[str, str]:
100101
"""
101102
获取 bilibili 作品发布日期起始时间戳 pubtime_begin_s 与发布日期结束时间戳 pubtime_end_s
102103
---

0 commit comments

Comments
 (0)