批量删除微博(微博怎样批量删除微博)

批量删除微博(微博怎样批量删除微博)

20多个爬虫实战案例

在开始之前,我建议你先安装一下DecryptLoginExamples这个包,以方便测试下文中会逐一介绍到的各个爬虫项目的调用代码。具体而言,只需要执行如下命令即可:

pip install DecryptLoginExamples

1. 微博监控

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
    'time_interval': 查询微博动态的间隔时间,
}
crawler_executor = client.Client()
crawler_executor.executor('weibomonitor', config=config)

2. 生成QQ个人专属报告

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
    'savedir': 生成的报告保存的文件夹,
}
crawler_executor = client.Client()
crawler_executor.executor('qqreports', config=config)

3. 下载B站指定UP主的所有视频

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('bilibiliuservideos', config=config)

4. 网易云个人歌单下载器

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('neteasesonglistdownloader', config=config)

5. 网易云个人听歌排行榜

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('neteaselistenleaderboard', config=config)

6. 下载指定微博用户的所有微博数据

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
}
crawler_executor = client.Client()
crawler_executor.executor('userweibospider', config=config)

7. 网易云音乐自动签到

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('neteasesignin', config=config)

8. 微博表情包爬取

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
}
crawler_executor = client.Client()
crawler_executor.executor('weiboemoji', config=config)

9. 大吼一声发微博

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
}
crawler_executor = client.Client()
crawler_executor.executor('weibosender', config=config)

10. 淘宝商品数据小爬虫

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('tbgoods', config=config)

11. 京东商品数据小爬虫

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('jdgoods', config=config)

12. 批量删除微博

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
}
crawler_executor = client.Client()
crawler_executor.executor('delallweibos', config=config)

13. 批量删除QQ空间说说

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('clearqzone', config=config)

14. 在终端看网易云每日歌曲推荐

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('neteaseeveryday', config=config)

15. 网易云音乐刷歌曲播放量

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
}
crawler_executor = client.Client()
crawler_executor.executor('neteaseclickplaylist', config=config)

16. 天翼云盘自动签到+抽奖

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
}
crawler_executor = client.Client()
crawler_executor.executor('cloud189signin', config=config)

17. 中国大学MOOC下载器

调用方式:

from DecryptLoginExamples import client


config = {
    'url': 课程链接, 例如: https://www.icourse163.org/course/SJTU-1003381021, 
}
crawler_executor = client.Client()
crawler_executor.executor('moocdl', config=config)

18. 修改小米运动中的步数

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
    'steps': 想要刷到的目标步数,
}
crawler_executor = client.Client()
crawler_executor.executor('modifymihealthsteps', config=config)

19. 淘宝抢购脚本

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
    'trybuy_interval': 抢购商品时查询商品是否可以购买的时间间隔(单位秒),
    'server_key': Server酱的Key,
}
crawler_executor = client.Client()
crawler_executor.executor('taobaosnap', config=config)

20. 京东抢购脚本

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
    'trybuy_interval': 抢购商品时查询商品是否可以购买的时间间隔(单位秒),
    'server_key': Server酱的Key,
    'paywd': 支付密码, 部分商品需要支付密码才能提交订单, 输入密码不会导致你直接购买商品, 请放心使用,
}
crawler_executor = client.Client()
crawler_executor.executor('jingdongsnap', config=config)

21. B站UP主监控

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
    'up_ids': 监控的UP主ID, 例如: ['406756145'],
    'time_interval': 查询UP主的动态的间隔时间,
    'server_key': Server酱的Key,
}
crawler_executor = client.Client()
crawler_executor.executor('bilibiliupmonitor', config=config)

22. B站监控关注的UP主并自动转发抽奖

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用于存储历史cookies的唯一标识ID, 
    'time_interval': 查询UP主的动态的间隔时间,
}
crawler_executor = client.Client()
crawler_executor.executor('bilibililottery', config=config)

23. 微博水军

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
    'targetid': 想要流量造假服务的明星微博ID, 例如: '1776448504',
}
crawler_executor = client.Client()
crawler_executor.executor('weibowater', config=config)

24. 微博批量拉黑脚本

调用方式:

from DecryptLoginExamples import client


config = {
    'username': 用户名,
    'password': 密码,
    'blacklist_ids': 想要批量拉黑的用户列表, 例如: ['1776448504', '1792951112', '2656274875'],
}
crawler_executor = client.Client()
crawler_executor.executor('weiboblacklist', config=config)

本文部分内容来自互联网,如有疑问请与我们联系。

发布者:币侠财经,转转请注明出处:https://www.yfhhf.com/baike/219873.html

(0)
                       
上一篇 2023年 5月 17日 上午12:50
下一篇 2023年 5月 17日 上午12:51

相关推荐

  • 田忌赛马是什么故事(田忌赛马是什么故事,性质)

    战国时期,齐国大将田忌经常与齐威王赛马。他们的赛马规矩是:双方各下赌注,比赛共设三局,两胜以上为赢家。然而每次比赛,田忌总是输家。 这天,田忌赛马又输给了齐威王。回家后,田忌把赛马的事告诉了自己的好朋友孙膑。孙膑听了以后说:“下次赛马时,你让我也去看看。” 过了几天,齐威王又邀请田忌赛马,孙膑也来到赛马场。齐威王和田忌的一等马都戴着金铃、披着黄绸,二等马都戴…

    2023年 3月 30日
    4180
  • 十二月的奇迹歌词(十二月的奇迹歌词TF三代)

    把悲伤解散 用希望的语言去修改替代 让时间的发条快转 我们的故事还有一半 某个转弯 命运还在等待 一定会有美丽安排 ——《彼得潘(Peter Pan)》 每一次我想你 全世界每一处都是你 夜空下的雪花 每朵都是你的泪滴 ——《十二月的奇迹(Miracles in December)》 看白雪飘落在心的缺口 能不能淹没 过去的所有伤痛 ——《初雪(The Fi…

    2023年 4月 28日
    4140
  • 补血的蔬菜(补血的蔬菜水果)

    很多女性都希望自己拥有好气色,通常会通过化妆的方式,让面容看上去更加精致,不过化妆只是表面,要想从内而外改变,就需要进行补血。对于女性而言气血很重要,只有气血充足,才能够让身体更加健康,面色更好。 大家都知道食疗可以补充气血,日常生活中哪些食物可以更好的补血呢?带大家具体了解一下。 第1种食物、南瓜 南瓜中含有丰富的营养物质,比如锌元素和钴元素,这两种元素对…

    2023年 6月 11日
    2000
  • 喷雾水和爽肤水的区别(喷雾和爽肤水的区别和爽肤水哪个好)

    女神们还没有好好欣赏嫩质的花朵,就迎来了脸上泛红、红肿等不适症状了,这实属于无奈。那该拿什么来拯救敏感肌呢?化妆水、保湿霜、面膜、喷雾等。有人问,敏感肌用喷雾可以改善吗?这是个疑问,请大家一起往下看看谜底吧。 市场上的喷雾有几种类型的,下面給大家详细介绍两款不同类别的喷雾,如: 1、温泉水/矿泉水的喷雾 主要功能就是舒缓、镇定和补水保湿,对于晒后修护和舒缓过…

    2023年 5月 6日
    2160
  • 最后一页空白页删不掉怎么办(最后一页空白页删不掉怎么办,固定值)

    更新了好多期excel的操作技巧,有粉丝咨询,冷先生,word文档有空白页删除不了,就是在资料的最后一页,怎么弄都弄不掉,跟狗皮膏药一样。估计也有很多小伙伴遇到同样的问题,下面出个教程教一下大家。 首先,我们先分析空白页,我们之所以删除不掉,是因为我们看到的空白页,并不是真正意义上空白页,里面其实是有内容的,只不过是隐藏了,我们看不到,只要我们把这些隐藏的内…

    2023年 5月 16日
    4210

联系我们

不接风险内容

在线咨询: QQ交谈

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信