淘宝直播python爬虫(爬虫电商平台)

集成淘宝、京东、B站、网易云音乐等二十多个爬虫小项目的开源包

20多个爬虫实战案例

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

pip install DecryptLoginExamples

1. 微博监控

调用方式:

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

2. 生成QQ个人专属报告

调用方式:

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

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

调用方式:

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

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

调用方式:

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

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

调用方式:

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

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

调用方式:

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

7. 网易云音乐自动签到

调用方式:

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

8. 微博表情包爬取

调用方式:

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

9. 大吼一声发微博

调用方式:

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

10. 淘宝商品数据小爬虫

调用方式:

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

11. 京东商品数据小爬虫

调用方式:

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

12. 批量删除微博

调用方式:

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

13. 批量删除QQ空间说说

调用方式:

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

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

调用方式:

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

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

调用方式:

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

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

调用方式:

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

17. 中国大学MOOC下载器

调用方式:

from DecryptLoginExamples import clientcOnfig= { 'url': 课程链接, 例如: ***/course/SJTU-1003381021, }crawler_executor = client.Client()crawler_executor.executor('moocdl', cOnfig=config)

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

调用方式:

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

19. 淘宝抢购脚本

调用方式:

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

20. 京东抢购脚本

调用方式:

from DecryptLoginExamples import clientcOnfig= { '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 clientcOnfig= { '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)

调用方式:

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

23. 微博水军

调用方式:

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

24. 微博批量拉黑脚本

调用方式:

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

声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:dandanxi6@qq.com

(0)
上一篇 2023年 5月 11日 下午1:16
下一篇 2023年 5月 11日 下午1:25

相关推荐

  • 家教注册什么公司(怎么注册家教网站)

    当我们上网多了,很多网站需要你注册,注册的时候就可能要你填写你的联系方式,比如手机号码,有的还要求提供邮箱地址;提供手机号码一般是跟实名认证有关系,也是当你的账号出现问题的时候,可…

    互联网 2023年 4月 24日
  • bilibili哔哩哔哩如何到电脑的3种方法…

    bilibili(哔哩哔哩)是目前国内知名的视频弹幕网站,被粉丝们亲切的称为“B站”。 现为国内领先的年轻人文化社区,非常受年轻用户的欢迎。 其操作界面简洁、速度快而且广告也不多,…

    2023年 2月 1日
  • 5g普及4g网速慢教你接入新站点

    随着国内5G基站的建设越来越多,很多城市都覆盖了5G网络的信号。让更多已经购买5G手机的用户体验到高质量的移动网络,但如今,依然还有一部分人在使用4G网络的手机,而且这些用户使用的…

    2023年 1月 15日
  • 中石化冬奥会加油卡怎么办理,北京哪里能办理中石化加油卡

    大家好,我是文文大保贝儿、 现在开车的小伙伴非常多,那么开车就需要加油。 很多车主都有办理中石化的加油卡,办理加油卡的主要好处,就是方便、快捷,还可以自助加油。 那么,中石化的加油…

    2023年 2月 23日
  • 图片压缩内存软件(有什么软件压缩照片清晰度又好的)

    很多小伙伴平时都喜欢拍照记录生活,现在拍照设备的像素都比较高,时间一长内存就不够用,这个时候就要挑挑拣拣删除许多照片,其实不必这么麻烦,只需要简单压缩一下图片就可以啦。 下面就分享…

    2023年 4月 26日
  • 怎么建微信群最简单方法(如何建老人微信群)

    如何建立微信群?原来方法很简单,相信你一看就会了,一分钟就学会,快和我一起去看看! 首先我们打开微信,然后注意看右上方有一个加号,我们把这个加号点开,在下方有一个“发起群聊”! 我…

    2023年 8月 16日
  • excel如何锁定指定单元格别的还可以动

    很多用电脑的朋友(特别是从事财务之类工作的)都会用到excel软件进行办公,有的时候需要一些excel模板给其他同事填数据进行汇总。为了保证数据的正确性(有的excel单元格内容比…

    2023年 8月 4日
  • wps文档被加密打不开了怎么办

    随着信息化的不断加快,电子文档逐渐取代传统纸质文档成为档案管理的新形式,这就对电子文档的加密功能提出了很高的要求。对文档机密性要求较高的各类机构和公司设有专门的电子档案管理岗位,并…

    2023年 2月 4日
  • 手机nfc功能是什么意思怎么使用

    NFC是一种近景通信技术,最早是在2003年的时候,就已经出现了研发计划,但是在最一开始由于智能设备以及使用场景的不充足,导致了技术并没有过多的出现在实际的市场内。 而在2014年…

    2023年 5月 28日
  • 无线路由桥接无线路由器设置方法

    用一台新版本的TP-Link TL-WR886N无线路由器为例,来演示介绍新版tplink路由器无线桥接设置方法 第一步、确定被桥接无线参数 在进行无线桥接设置之前,应该确保你已经…

    2023年 6月 25日