diff --git a/src/nonebot_plugin_parser/parsers/twitter.py b/src/nonebot_plugin_parser/parsers/twitter.py index 71d62778..a0b33648 100644 --- a/src/nonebot_plugin_parser/parsers/twitter.py +++ b/src/nonebot_plugin_parser/parsers/twitter.py @@ -66,7 +66,7 @@ async def parse_by_vxapi(self, url: str): return self._collect_result(data) def _collect_result(self, data: VxTwitterResponse) -> ParseResult: - author = self.create_author(data.name, data.user_profile_image_url) + author = self.create_author(data.user_name, data.user_profile_image_url) title = data.article.title if isinstance(data.article, Article) else data.article contents: list[MediaContent] = []