avgle m3u8 extractor

extract m3u8 after click close / use video title as filename

Author
x94fujo6rpg
Daily installs
0
Total installs
662
Ratings
1 0 0
Version
0.02
Created
2021-03-01
Updated
2021-08-03
License
N/A
Applies to

Most of the updates will be on github

  • extract m3u8 after click close
  • when it done, click button to download
  • use video title as filename

options:

let discard_first_seg = false; //discard the first segment  
let url_only = false; //only the video url as .txt instead of .m3u8 (for youtube-dl/uget/wget...etc)

download use streamlink

streamlink --http-header Referer=https://avgle.com/ hls://file://"C:/example.m3u8" best -o example.ts

convert

ffmpeg -i example.ts -c copy example.mp4

streamlink loacal file path use / even in windows
also you might not want use *.ts (google: windows 10 ts file freeze)
cus windows werid behavior like scan for thumbnail can make system freeze/hanging
change it to like ._ts_ .tmp so windows does't recognize it, but ffmpeg still can handle it correctly

reference:
https://github.com/download-online-video/chrome-avgle-helper/issues/21
https://github.com/download-online-video/chrome-avgle-helper/issues/54