Giter VIP home page Giter VIP logo

Comments (2)

Borber avatar Borber commented on August 12, 2024

简单的js逆向, 其实一般播放源都不会保护的太过严密。 以下是我的所有直播平台的分析步骤

  1. 浏览器先进一个直播间, 打开开发者工具, 刷新, 查看网络

  2. 看到直播流的请求后注意其特征id部分, 大多都是一串uuid或者其他组合名称

  3. 在开发者工具>网络搜索uuid或直播流的其他特征字符串, 找到restful风格的api接口或者如果直接在直播间的页面请求中发现了数据的结构体

    • 如果找到了api 试着减少传参, 找到必要参数, 最后模拟请求
    • 如果在直播间页面发现了大量数据就直接使用正则匹配出数据部分然后解析它, 一般都是在 script 部分的 json 串
  4. 完善成rust代码

可以看看 real-url 项目, python 代码可读性强, 当作教程看也无不可, 但我这边没有全部搬运他的方法, 有很多自己的创新

from seam.

yinjiaoyuan avatar yinjiaoyuan commented on August 12, 2024

谢谢大佬。

from seam.

Related Issues (20)

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.