Giter VIP home page Giter VIP logo

avgle-downloader's Introduction

m3u8Downloader

Using python 2.7.13 with requests and bs4

Usage

m3u8Downloader.py

Open cmd.exe for Windows or Terminal for Linux.
Download video from a m3u8 file via:

$ python m3u8Downloader.py m3u8_path video_name 

Lots of ts files will be downloaded into ./video/tmp folder named video_name_X.ts (X is index).
Once all ts files are downloaded, they will be merged to a file video_name into ./video folder.

โ€ป Don't forget filename extension:
m3u8_path is like your_path/wait_for_download.m3u8
video_name is like cannot_wait_to_watch.ts

  • After merged, fragments will be deleted.
  • Duplicate video names will not be overwritten.
  • If you have downloaded some parts of a video, you can just use same video name to download remaining parts.

getM3u8.py

No use in most situations.

Open cmd.exe for Windows or Terminal for Linux.
Download m3u8 file from an url.
Better surround urls with ""

$ python getM3u8.py "url" XXX.m3u8

m3u8 file will be downloaded into ./video/m3u8 folder.

License

MIT

avgle-downloader's People

Contributors

shizukuichi 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.