You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'created_at')
at VMalzsdyq82vt.columnHelper.accessor.id [as accessorFn] (Twitter Web Exporter.user.js:2764:71)
at Object.getValue (Twitter Web Exporter.user.js:19:46141)
at Object.getValue (Twitter Web Exporter.user.js:19:45538)
at onExport (Twitter Web Exporter.user.js:1299:30)
at HTMLButtonElement.T (Twitter Web Exporter.user.js:3:4503)
相同界面,分页浏览 Following 数据时出现的错误
错误提示截图:
错误文本:
Something went wrong.
Error: Cannot read properties of undefined (reading 'screen_name')
/** * Extract the user object from the timeline entry, ignoring unavailable users. */exportfunctionextractTimelineUser(itemContent: TimelineUser): User|null{constuser=itemContent.user_results.result;if(!user||user.__typename!=='User'){logger.warn("TimelineUser is empty. This could happen when the user's account is suspended or deleted.",itemContent,);returnnull;}returnuser;}
来自 Twitter 的粉丝,非常感谢作者能开发这个工具。
直接导出时卡住,Console 有输出错误。
错误信息如下:
相同界面,分页浏览 Following 数据时出现的错误
错误提示截图:
错误文本:
原因分析
原因是 Twitter 返回的数据中,混有
Suspended
用户。Suspended 用户数据示例如下:
处理建议
浏览或导出时可能需要忽略 Suspended 用户数据。
找到问题就发出来了,完全不懂暴力猴工程,接下来可能会尝试修正一下,成功了来 PR 😌
The text was updated successfully, but these errors were encountered: