Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Aug 31, 2023
1 parent a002004 commit 537522f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/plugins/blive/pusher/dynamic_pusher.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ async def _():
logger.info(f"检测到新动态:{dynamic_id}")
dynamic_offset[uid] = dynamic_id

if dyn_type in [
"DYNAMIC_TYPE_LIVE_RCMD",
"DYNAMIC_TYPE_LIVE",
"DYNAMIC_TYPE_AD",
"DYNAMIC_TYPE_BANNER",
]:
logger.info(f"无需推送的动态 {dyn_type},已跳过:{dynamic_id}")
return

if not (image := await get_dynamic_screenshot(dynamic_id)):
logger.warning(f"获取动态截图失败:{dynamic_id}")
return
Expand Down

0 comments on commit 537522f

Please sign in to comment.