Git Product home page Git Product logo

parsevip's Introduction

VIP资源解析

1 使用的技术

1.1 SpringBoot方面

  • 多环境开发配置
  • 定时执行任务
  • 执行异步任务
  • Shiro权限管理
  • Swagger生成文档
  • 整合mybatis
  • 邮箱发送功能

1.2 其他方面

  • QQ登录
  • xss过滤
  • 统一异常处理
  • 自定义拦截器
  • 面向切面的日志打印

1.3 工具类

  • PDF添加水印
  • 二维码生成
  • Excel操作
  • CSV操作
  • 绘制海报
  • 网页截图
  • token加密

2 VIP资源解析部分

2.1 酷狗音乐下载地址解析

  1. 拿到歌曲的hash值
  2. 根据hash值算出md5值
  3. 将hash值和md5值发送给后端接口拿到下载地址

2.2 QQ音乐下载地址解析

  1. 根据歌曲的URL(音乐馆界面)拿到歌曲的songmid
  2. 根据songmid拼接出filename
  3. 计算出guid的值
  4. 根据songmid、filename、guid的值请求接口拿到歌曲的vkey
  5. 根据filename、vkey、guid拼接出真实地址

2.3 腾讯视频真实地址解析

  1. 根据视频地址通过正则拿到视频的vid
  2. 构造参数拿到视频的url_prefix、streamID、filename值
  3. 根据第二步拿到的值再次构造参数请求接口拿到视频key值
  4. 根据视频的url_prefix、filename、key值拼接出视频的真实地址

2.4 人人视频真实地址解析

  1. 根据视频地址的URL拿到视频的id
  2. 设置请求头header{clientVersion,clientType}
  3. 根据视频的id和请求头请求接口拿到视频播放的真实地址

3 交流&&提问

4 关注我

关注我微信公众号,每天获取最新Java干货

parsevip's People

Contributors

pibigstar avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.