modify get top algo

This commit is contained in:
felinae98 2021-03-01 14:17:16 +08:00
parent 382521e6f7
commit dc6a4511eb
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -80,8 +80,7 @@ class Weibo(Platform):
if raw_post['card_type'] == 9:
if raw_post['mblog'].get('isTop'):
return raw_post
else:
return None
return None
async def filter_common(self, target: Target, raw_post_list: list[RawPost]) -> list[RawPost]:
if not self.inited.get(target, False):