Giter VIP home page Giter VIP logo

real-m3u8-url-batch-downloader's Introduction

real-m3u8-url-batch-downloader

this is a m3u8 url batch download tool by a python beginner. Test in Windows, but support for linux and MacOS maye. Only for study.

**Usage**:
    -u       m3u8 URL address,should be used with -o together
    -o       output media's name, should be used with -u together
    -r       restore all uncomplete task
    -s       show all history tasks
    -h       this message.

for example, create a new online m3u8 download task, where m3u8 URI locate at http://live.us.sinaimg.cn/003KBuuJjx07mnPN1eFh070d01000pkH0k01.m3u8 , you could execute the following command in Windows original CMD shell or nice console emulators, such as cmder:

python start.py -u http://live.us.sinaimg.cn/003KBuuJjx07mnPN1eFh070d01000pkH0k01.m3u8 -o 2018ICS**.mp4

Features:

  1. concurrence batch download online m3u8.

  2. auto merge all TS files and convert to a single MP4 file, and support specify path.

  3. continue download all uncomplete tasks.

    python start.py -r

  4. save download list file(history.json) in UTF-8 Character coding, and downloaded file name support UNICODE and ASCII by sys.getfilesystemcoding()

  5. show all download history python start.py -s

  6. download split TS files and clear temp files and path automatically.

For Windows User:

you should download all .exe file in this Repo with start.py in same path.

For Linux user:

you should download and install aria2, FFmpeg.

For Mac user:

should brew download and install aria2,ffmpeg.

TODO:

  • show history task.

  • expose more aria2c control parameters to user, a new aria2c configure file maybe a good idea.

  • change system command rmdir, rm, del,cat , path and somthing etc. to compatible with Mac or Linux systems.

  • sniffer or crawl method to get m3u8 URI easy.

  • parse m3u8 format more compatible,refer to globocom/m3u8

  • parse URL more comprehensive, refer to urlparse or urllib.parse

  • refactoring code with python3.

More Reference:

aria2c https://aria2.github.io/

FFmpeg http://ffmpeg.org/

real-m3u8-url-batch-downloader's People

Contributors

block-it avatar

Stargazers

 avatar  avatar Taylor Allen 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.