Git Product home page Git Product logo

avgle-hls-playlist-downloader's Introduction

avgleHPD - avgle HLS playlist downloader

Decrypt and download HLS playlist(m3u8) of avgle.com video in browser.

[Oct. 19 2020]
uBlock Origin default filter is blocking the third party scripts on avgle.com.
If necessary, please add the following filter to [My Filters] to allow access to my script.
@@||avotoko.github.io/avgle-HLS-playlist-downloader/avgle-hls-playlist-downloader.js$script,domain=avgle.com

Usage

  1. Open the video page in browser.
  2. Run avgle-hls-playlist-downloader.js (as bookmarklet.)
    ref. Run avgleHPD using Greasemonkey.
  3. Click close button overlapping the video.
  4. [Download HLS Playlist] button will appear when the playlist is successfully retrieved and decrypted.
  5. Click the button and download avgle.m3u8.
  6. You can play the video using Streamlink.
    streamlink --http-header Referer=https://avgle.com/ file://<location>/avgle.m3u8 best
    Or you can download the video.
    streamlink --http-header Referer=https://avgle.com/ file://<location>/avgle.m3u8 best -o video.ts
    • The url described in the playlist(m3u8 file) retrieved by AvgleHPD becomes inaccessible after a while.
      Try to run Streamlink as soon as possible after retrieving the playlist.
    • You must specify the url instead of the local path of m3u8 file.
      How to convert local path to url: https://en.wikipedia.org/wiki/File_URI_scheme
      [Example for Windows]
       downloaded file path: c:\temp\avgle.m3u8
       url: file:///c:/temp/avgle.m3u8
       command line:
      streamlink --http-header referer=https://avgle.com/ file:///c:/temp/avgle.m3u8 best
      [Convert local path to url using firefox on Windows]
      1. Open a new tab in firefox.
      2. Drag and drop the m3u8 file to the new tab.
      3. Text contents is displayed in the tab and file url is displayed in the address bar.
      4. Focus the address bar and copy the url.
      5. Paste the url where required.
  • Outputs errors and other information to the console of the browser's developer tools.

Advanced

You can define the function avglehpdPreDownload separately to change the file name to be downloaded.

avgle-hls-playlist-downloader's People

Contributors

avotoko avatar

Watchers

 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.