daymade / Twitter-Block-Porn

共享黑名单, 一键拉黑所有黄推诈骗犯. Block scammers who sending fake porn comments, and help you improve your experience using Twitter.

Home Page:https://greasyfork.org/zh-CN/scripts/470359-twitter-block-porn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

过滤掉已经被封的诈骗账号

daymade opened this issue · comments

已经有大量诈骗账号被封锁了,目前脚本没有过滤掉这一部分账号,我的想法是不要动现有功能,额外在发起请求时,忽略已经被封的账号,这需要以下几个改动:

  1. 遍历 all.json 查询哪些账号被封了
  2. 将被封的账号记录在 suspended.json
  3. 在用户侧点击批量拉黑时,请求前过滤掉 suspended.json 里被封的账号