mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 20:06:12 +08:00
modify get top algo
This commit is contained in:
parent
3a677f1a97
commit
98c13b5445
@ -80,8 +80,7 @@ class Weibo(Platform):
|
|||||||
if raw_post['card_type'] == 9:
|
if raw_post['card_type'] == 9:
|
||||||
if raw_post['mblog'].get('isTop'):
|
if raw_post['mblog'].get('isTop'):
|
||||||
return raw_post
|
return raw_post
|
||||||
else:
|
return None
|
||||||
return None
|
|
||||||
|
|
||||||
async def filter_common(self, target: Target, raw_post_list: list[RawPost]) -> list[RawPost]:
|
async def filter_common(self, target: Target, raw_post_list: list[RawPost]) -> list[RawPost]:
|
||||||
if not self.inited.get(target, False):
|
if not self.inited.get(target, False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user