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

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

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年 2月 16日
    3490
  • 苹果国行版型号怎么看(苹果官网序列号查询)

    #头条创作挑战赛# 最近新iPhone14系列的开始上市,想必很多小伙伴都拿到了自己心仪的手机,但有些小伙伴可能还不清楚自己手机型号的作用。通过手机型号不仅能够看出是国行版还是国外其他版本,还能知道自己的手机是不是正品的零售机,查询操作很简单:点击设置,找到通用,然后关于本机,第4行型号号码就是手机型号,如MQ893CH/A。型号解析如下: 开头: 1、M开…

    2023年 3月 29日
    2610
  • 不搭嘎是什么意思(不搭嘎是什么意思对所有的烦恼说拜拜是什么歌)

    小伙伴们,快来看看,下面这些字你都会写吗……? fiào 【释义】不要。读起来其实就是把“弗要”两个字连读。小朋友们不想去上学,就会撒娇说:“我覅到学堂~~”然而这样撒娇并没有什么用,爸妈通常回你一句“弗来赛~” qiu 【释义】形容人性格恶劣,不正经。 【造句】倷个人脾气真格恘葛!讲勿听! gue 【释义】就是摔、扔的意思,而且用法也和“扔”差不多啊, “…

    2022年 12月 27日
    5810
  • 倒流香的功效与作用(倒流香的害处)

    随着中国传统香文化越来越被大众熟知,一款形制特殊的香也走进大众的视野,更是成为当下追捧的一种时尚和潮流,那就是——倒流香。 倒流香的香烟并非“青云直上”,反而似流水一般徐徐而下,似云似雾,别具一番意境。云雾仙境平日自是难得,可倒流香却能将这种景致摆在你的眼前观赏,也是制香人的别具匠心。 但事物的流行总会伴随着一些质疑的声音,不知缘何,称倒流香为“死人香”,室…

    2022年 12月 8日
    1.7K0

联系我们

不接风险内容

在线咨询: QQ交谈

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

关注微信