一段批量清空头条号文章以及视频的代码

因个人有强迫症,最近想把头条号旧数据都删了,手动删了几天还没删完,于是产生了这段代码。

非IE系列浏览器通用姿势是按f12然后点开console选项卡。复制以下代码,回车运行即可
var s = document.createElement(‘script’);
s.setAttribute(
‘src’,
https://lib.sinaapp.com/js/jquery/2.0.3/jquery-2.0.3.min.js
);
s.onload = function() {
setInterval(function() {
var t = new Date().getTime();
$.get(“https://mp.toutiao.com/xigua/api/video/getarticlesv2/?params=%7B%22SearchWord%22%3A%22%22%2C%22Status%22%3A%22all%22%2C%22Source%22%3A%22all%22%2C%22Offset%22%3A20%2C%22Size%22%3A20%2C%22StartTime%22%3A0%2C%22EndTime%22%3A0%2C%22Feature%22%3A1%2C%22PageIdentyInstance%22%3A0%7D”, function(result) {
for (var key in result.data.Items) {
$.post(“https://mp.toutiao.com/delete_article/”, {

item_id: result.data.Items[key].Id,

pgc_id: result.data.Items[key].Id,

id: result.data.Items[key].Id,

article_type: 2,

group_id: result.data.Items[key].Id,

source_type: 0,

book_id: ”,

create_time: t

});

}

});

}, 1500);
};
document.head.appendChild(s);

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇