-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot download m3u8 from reddit #78
Labels
Comments
dupe of #28 the url given is a master m3u8 playlist. to download the videos listed in that playlist, you'll have to pick one and give it to m3u8stream directly.
changing the url to the following will download the first listed stream const fs = require('fs')
const m3u8stream = require('m3u8stream')
const res = m3u8stream('https://v.redd.it/uag4uw003od51/HLS_224.m3u8').pipe(
fs.createWriteStream('videofile.mp4'),
) I agree that this is unintuitive. there are plans to have m3u8stream pick the first option for you from master playlists if none is given. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to download a video from reddit (
https://v.redd.it/uag4uw003od51/HLSPlaylist.m3u8
) but the download stops at about 400 bytesThis is what gets downloaded:
The text was updated successfully, but these errors were encountered: