Git Product home page Git Product logo

Comments (5)

jadehh avatar jadehh commented on June 15, 2024

参考链接

from tvspider.

jadehh avatar jadehh commented on June 15, 2024

https://github.com/kaedei/dandanplay-libraryindex/tree/master

from tvspider.

jadehh avatar jadehh commented on June 15, 2024

https://github.com/LC044/Spider

from tvspider.

jadehh avatar jadehh commented on June 15, 2024

流程

  • 支持弹幕开关配置
  • 在播放界面加载弹幕,所以播放界面需要传入Vod Detail信息
  • 查询优酷和腾讯视频接口,找出当前播放的连接信息

根据名称搜索影片

搜索Api

https://search.youku.com/api/search?pg=1&keyword=搜索

获取showId

获取视频详情

详情Api

https://search.youku.com/api/search?appScene=show_episode&showIds=视频ID

获取视频详情链接

下载弹幕Api

弹幕下载Api

https://dmku.thefilehosting.com/?ac=dm&url=视频链接地址

下载弹幕

参考
https://github.com/nilaoda/Blog

from tvspider.

jadehh avatar jadehh commented on June 15, 2024

测试弹幕

初步实现弹幕功能,下一步考虑美化弹幕

<d p="{time},{type},{size},{color},{timestamp},{pool},{uid_crc32},{row_id}">

        {Text}

<‌/d>

    <‌!-- time为弹幕在视频里的时间 -->

    <‌!-- type为弹幕类型 -->

    <‌!-- size为字体大小 -->

    <‌!-- color为十进制的RGB颜色(16进制转10进制) -->

    <‌!-- timestamp为弹幕发送时间戳(unix时间戳) -->

    <‌!-- pool为弹幕池 -->

    <‌!-- uid_crc32为发送者uid的crc32 -->

    <‌!-- row_id用于标记顺序和历史弹幕 -->

from tvspider.

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.