Git Product home page Git Product logo

ts_downloader's Introduction

These scripts are deprecated because I rewrite it by Golang, please visit my new repo go-live-broadcast-downloader.

live-broadcast-downloader

the original repo name is ts_downloader

这是一个用来按 m3u8 文件提供的切片顺序下载切片文件的脚本,并不是用来按照 m3u8 链接自动合成视频文件的脚本。

这个脚本库利用了 Selenium 4 实现下载功能,主要是模拟浏览器访问下载来完成切片下载的任务。

目前默认提供了如下站点的支持:

  • asobistage
  • eplus
  • NHK 音乐之声
  • Zaiko

脚本支持自动下载 WebDriver 浏览器驱动二进制包,是利用了 webdriver-manager 工具实现的。

如果要使用这个脚本,下载本仓库,以 eplus 视频举例,在浏览器开发者工具拿到 eplus 视频流的 m3u8 地址后,打开 dl_eplus.py,在 tasks 数组按要求填写 view_urlprefix,然后直接运行 __main__ 方法,等待下载完成即可。

如果要扩展其他站点,可以仿照 dl_eplus.py 自己实现一个新的脚本。

ts_downloader's People

Contributors

ayakurayuki avatar

Stargazers

Mozi avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  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.