淘宝直播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

相关推荐

  • 谷歌搜索引擎插件(谷歌相关搜索优化工具)

    为了在一个充满新的竞争威胁的市场中保持其领先地位,Alphabet(GOOG.US,GOOGL.US)旗下谷歌决定允许用户在浏览网页时体验由人工智能创作的新功能。 今年早些时候,谷…

    互联网 2023年 8月 27日
  • 支付宝微信宣布重大调整

    好消息! 微信、支付宝宣布 与银联云闪付 深化互联互通 微信支付已与银联云闪付App 正式实现线下条码的互认互扫 微信小程序逐步支持云闪付支付 淘宝85%商铺已支持通过云闪付付款 …

    互联网 2023年 7月 18日
  • 路由器怎么用手机设置,学会这几步,再也不求人

    现在的网络基本普及到每个家庭,但是很多人都不会设置路由器,需要更改密码或者忘记忘记密码怎么办呢?今天教会大家路由器的设置,以后再不怕忘记密码。 现在网络设置很简单,因为很多运营商光…

    2023年 1月 30日
  • 这7部高分悬疑动漫,你看过几部呀

    悬疑类动漫是动漫迷中最受欢迎的类型之一,故事的最后你可能会看到一个意想不到的扭曲的故事!如果你喜欢这个类型的动漫,那么恭喜你来对啦,这篇文章是为了你写的哦! 下面为大家推荐七部悬疑…

    2023年 3月 10日
  • 无需付费!免费注册qq号中的极品靓号是真的吗

    对于数字,人们似乎有一种执念,位数越短越好,号码越靓越好,这一点在我们的手机号、车牌号、QQ号等各种号码中都有所体现,都喜欢888和666,不喜欢带有4的,当然,1314除外。 尤…

    2023年 5月 20日
  • 银河麒麟系统如何设置默认输入法

    银河麒麟操作系统用户常用功能操作教程,详细为大家讲解查看系统信息、浏览器使用、U盘使用、光盘刻录使用、系统设置等常用基本操作。 作者简介 刘俊山:湖南长城科技PKS生态专家 陈思宇…

    2022年 12月 31日
  • 头条怎么用手机播放

    手机的今日头条APP(和微信公众号)中的视频蛮有趣、好欣赏。想将其下载,但苦于头条(和微信公众号)本身未能提供可下载的端口令人感到困惑,这如何叫人下载好呢?下载头条视频,在网上有各…

    2023年 7月 9日
  • 转换器AVS Video Converter介绍及安装教程

    该程序包括现成的预设,可以将视频转换为iPhone,iPad,iPod Touch,三星,Android平板电脑,索尼PSP,亚马逊Kindle,智能手机,便携式媒体播放器等。 您…

    2023年 2月 5日
  • 电子邮箱格式怎么写(电子邮箱格式怎么写手机号码)

    电子邮箱是工作、生活经常会用到的东西,现在的电子的邮箱的种类有很多,不同的邮箱种类,域名、格式也不尽相同,所以,今天小编想和大家说说电子邮箱格式怎么写?,不清楚电子邮箱格式的小伙伴…

    2023年 2月 1日
  • 2020淘宝京东拼多多市场份额

    以下内容是自己在三个平台购物的感受,仅供参考,不作为评判好坏的标准。 平台名称 服务评价 满分10分 分析 性价比 满分10分 分析 京东 8 优点: 1.电子IT保真 2.物流体…

    2023年 6月 12日