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

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

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年 6月 10日
    1790
  • 细玉溪烟多少钱一包(细玉溪烟多少钱一包初心)

    中国的人为什么那么喜欢抽烟呢?明知道吸烟有害健康,但烟民们总是管不住自己的嘴巴,一闲下来就忍不住去抽烟。据了解,中国的烟民大约有3.5亿人,如果平均的算下来,我们国家人口总人数13亿人,相当于每四个人中就有一个人抽烟。这个数字还是相当惊人的。 有些烟龄几十年甚至二十几年的老烟民,一天抽一包烟,一包普通的烟价格大概10元左右,比如真龙。那么,一年365天,一年…

    2023年 1月 17日
    4300
  • 国行和美版有什么区别(airpods国行和美版有什么区别)

    关于iPhone我们都知道国行的价格要高于美版,但普通的消费者并不知道他们有什么区别,其实他们的质保是不同的,那么除了这一点它们还有什么区别呢,在选购时要注意哪些点呢? 一般情况下,正版的美规无锁iPhone跟国行在质量和使用体验上是没有区别的,我们都知道其实大部分的iPhone都是在中国的富士康组装生产的,一样的流水线,质量检测等等,但定价上是有区别的,至…

    2023年 5月 16日
    1850
  • 叫了个炸鸡是山寨的吗(正品叫了个炸鸡)

    2017年11月,曾因发布恶俗广告而被上海市工商行政管理局检查总队罚款50万元的“叫了个鸡”炸鸡品牌,今年2月以三被告使用“叫了个鸡”等商业标识构成不正当竞争为由,向法院起诉“维权”,索赔百万元。 9月10日,上海浦东法院对本案作出宣判,认定原告上海台享餐饮管理有限公司(以下简称“台享公司”)主张保护的“叫了个鸡”等商业标识严重违反公序良俗,不具有合法性,应…

    2022年 12月 5日
    1640
  • 太阳系直径有多少光年(太阳系有多少光年)

    太阳系的界限或界限超越了八颗公认的行星,也超越了矮行星。 太阳系可以定义为由太阳和绕太阳运行的物体直接或间接组成的引力束缚系统。在那些直接围绕太阳运行的天体中,最大的8个是行星,其余的是较小的天体,如矮行星和太阳系小天体。 图解: 在帕瑞纳天文台的夜空中观赏到的 银河系的核心 (激光为望远镜创造出一颗导引星) 太阳和太阳系位于银河系中,银河系是一个直径约为1…

    2023年 4月 2日
    3030

联系我们

不接风险内容

在线咨询: QQ交谈

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

关注微信