{"id":20661450,"url":"https://github.com/pibigstar/parsevip","last_synced_at":"2025-04-03T02:10:23.526Z","repository":{"id":31530152,"uuid":"128079662","full_name":"pibigstar/parsevip","owner":"pibigstar","description":"解析VIP资源，解析出酷狗、QQ音乐、腾讯视频、人人视频的真实地址","archived":false,"fork":false,"pushed_at":"2023-04-14T17:41:07.000Z","size":17414,"stargazers_count":212,"open_issues_count":8,"forks_count":51,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T08:19:05.730Z","etag":null,"topics":["code","javautils","jwt","mybatis","parsevip","poster","qqlogin","redis","shiro","springboot","token","vip","xss"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pibigstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-04T15:07:23.000Z","updated_at":"2025-03-04T09:09:05.000Z","dependencies_parsed_at":"2022-07-18T05:46:13.668Z","dependency_job_id":null,"html_url":"https://github.com/pibigstar/parsevip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pibigstar%2Fparsevip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pibigstar%2Fparsevip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pibigstar%2Fparsevip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pibigstar%2Fparsevip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pibigstar","download_url":"https://codeload.github.com/pibigstar/parsevip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922247,"owners_count":20855345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code","javautils","jwt","mybatis","parsevip","poster","qqlogin","redis","shiro","springboot","token","vip","xss"],"created_at":"2024-11-16T19:09:44.282Z","updated_at":"2025-04-03T02:10:23.503Z","avatar_url":"https://github.com/pibigstar.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VIP资源解析\r\n\r\n## 1 使用的技术\r\n\r\n### 1.1 SpringBoot方面\r\n\r\n- [x] **多环境开发配置**\r\n- [x] **定时执行任务**\r\n- [x] **执行异步任务**\r\n- [x] **Shiro权限管理**\r\n- [x] **Swagger生成文档**\r\n- [x] **整合mybatis**\r\n- [x] **邮箱发送功能**\r\n\r\n### 1.2 其他方面\r\n\r\n- [x] **QQ登录**\r\n- [x] **xss过滤**\r\n- [x] **统一异常处理**\r\n- [x] **自定义拦截器**\r\n- [x] **面向切面的日志打印**\r\n\r\n### 1.3 工具类\r\n- [x] **PDF添加水印**\r\n- [x] **二维码生成**\r\n- [x] **Excel操作**\r\n- [x] **CSV操作**\r\n- [x] **绘制海报**\r\n- [x] **网页截图**\r\n- [x] **token加密**\r\n\r\n## 2 VIP资源解析部分\r\n\r\n### 2.1 酷狗音乐下载地址解析\r\n1. 拿到歌曲的hash值\r\n2. 根据hash值算出md5值\r\n3. 将hash值和md5值发送给后端接口拿到下载地址\r\n\r\n### 2.2 QQ音乐下载地址解析\r\n1. 根据歌曲的URL（音乐馆界面）拿到歌曲的songmid\r\n2. 根据songmid拼接出filename\r\n3. 计算出guid的值\r\n4. 根据songmid、filename、guid的值请求接口拿到歌曲的vkey\r\n5. 根据filename、vkey、guid拼接出真实地址\r\n\r\n### 2.3 腾讯视频真实地址解析\r\n1. 根据视频地址通过正则拿到视频的vid\r\n2. 构造参数拿到视频的url_prefix、streamID、filename值\r\n3. 根据第二步拿到的值再次构造参数请求接口拿到视频key值\r\n4. 根据视频的url_prefix、filename、key值拼接出视频的真实地址\r\n\r\n### 2.4 人人视频真实地址解析\r\n1. 根据视频地址的URL拿到视频的id\r\n2. 设置请求头header{clientVersion，clientType}\r\n2. 根据视频的id和请求头请求接口拿到视频播放的真实地址\r\n\r\n## 3 交流\u0026\u0026提问\r\n\r\n- 留言：[https://github.com/pibigstar/parsevip/issues](https://github.com/pibigstar/parsevip/issues)\r\n\r\n- QQ群：[752146272](https://shang.qq.com/wpa/qunwpa?idkey=875408aae56499d92ddcdda3966fa7c01e1d3b587b038d335917df7d41893170)\r\n\r\n- 官方网站：[http://mxspvip.cn](http://mxspvip.cn)\r\n\r\n## 4 关注我\r\n\r\n关注我微信公众号，每天获取最新Java干货\r\n\r\n![](https://github.com/pibigstar/parsevip/blob/master/pibigstar.png)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpibigstar%2Fparsevip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpibigstar%2Fparsevip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpibigstar%2Fparsevip/lists"}