嗯,控制台报错这个:contentScript.js:1 Uncaught TypeError: Cannot read properties of undefined (reading '__typename') at t.value (contentScript.js:1:270283) at HTMLButtonElement. (contentScript.js:1:265282) at HTMLButtonElement.dispatch (jquery-3.2.1.min.js:2:42243) at v.handle (jquery-3.2.1.min.js:2:40273)
太牛逼了,谢谢分享
这个插件好像没用了,类似的插件很多,但是破解办法没有一样的
这个插件只能爬follower和following,有其它办法或者插件可以通过关键词爬取吗
大佬好久没更新了
目前这个插件的办法好像失效了,如果需要的话可以联系我,可以免费试用,额度很多,临时用一下肯定够了!
大佬,求个v
大佬我想问一下,我按照您的方法改完之后,虽然可以读取所有的following。但是点击下载的时候没有反应。多次测试,到900左右,下载就没有反应了,这是什么原因呀
嗯,控制台报错这个:contentScript.js:1 Uncaught TypeError: Cannot read properties of undefined (reading '__typename')
at t.value (contentScript.js:1:270283)
at HTMLButtonElement. (contentScript.js:1:265282)
at HTMLButtonElement.dispatch (jquery-3.2.1.min.js:2:42243)
at v.handle (jquery-3.2.1.min.js:2:40273)
具体到这段代码:{
key: "download",
value: function() {
for (var t = this.data.concat(), e = [], r = 0; r < t.length; r++) {
var i = t[r].content.itemContent.user_results.result;
"User" === i.__typename && e.push({
name: i.legacy.name,
username: i.legacy.screen_name,
userId: i.rest_id,
can_dm: i.legacy.can_dm,
created_at: new Date(i.legacy.created_at).toLocaleString(),
bio: i.legacy.description,
followers_count: i.legacy.followers_count,
following_count: i.legacy.friends_count,
followed_by: i.legacy.followed_by,
following: i.legacy.following,
location: i.legacy.location,
media_count: i.legacy.media_count,
profile_banner_url: i.legacy.profile_banner_url,
profile_url: "twitter.com/".concat(i.legacy.screen_name),
avatar_url: i.legacy.profile_image_url_https,
verified: i.legacy.verified
})
}
解决方案 console看看数据 data = this.data.concat();
output = data.map(item => {
if (!item || !item.content || !item.content.itemContent || !item.content.itemContent.user_results || !item.content.itemContent.user_results.result || !item.content.itemContent.user_results.result.legacy) {
return null; // 或者可以根据需要返回一个空对象或默认值
}
var i = item.content.itemContent.user_results.result;
return {
name: i.legacy.name,
username: i.legacy.screen_name,
userId: i.rest_id,
can_dm: i.legacy.can_dm,
created_at: new Date(i.legacy.created_at).toLocaleString(),
bio: i.legacy.description,
followers_count: i.legacy.followers_count,
following_count: i.legacy.friends_count,
followed_by: i.legacy.followed_by,
following: i.legacy.following,
location: i.legacy.location,
media_count: i.legacy.media_count,
profile_banner_url: i.legacy.profile_banner_url,
profile_url: "twitter.com/" + i.legacy.screen_name,
avatar_url: i.legacy.profile_image_url_https,
verified: i.legacy.verified
};
}).filter(item => item !== null); // 过滤掉那些因为缺少属性而返回null的项
@@clark1203怎么弄啊
牛逼 牛逼
thanks.
老哥 推特号搜不到你
大佬怎么获取别人的屏蔽名单
官方好像加强了,代码复制过去以后300显示不出来,直接乱码了
还可以用,你得用手打
大佬 微信可以加一下吗
i.a.APP.FREE_MAX_NUM= 5e4
VM430:1 Uncaught ReferenceError: i is not defined
at :1:1
您好,可以加您微信吗
太牛逼了,谢谢分享