Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

avotoko/avgle-HLS-playlist-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

avgleHPD - avgle HLS playlist downloader

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

[May 7, 2021]
AdGuard Japanese filter prevents the CAPTCHA dialog from appearing on avgle.com, resulting in the video not playing.
If necessary, please add the following filter to [My Filters] to show CAPTCHA dialog.
avgle.com#@#body > div[style*="z-index"]:not([id]):not([class])

[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. In March 2022 uBO hides the close button. In that case, click play button.
  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
  • 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.

About

decrypts and downloads avgle HLS playlist in browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published