Adds buttons to easily download images/videos from Reddit
< 脚本Reddit Download Buttons的反馈
So pretty much it's like this (and it has been a little bit since I've messed with it so this could be a little vague or slightly incorrect), but Reddit doesn't store videos the same way they store images, and they're not as "directly accessible". Images you can get the direct url to in the html and download no problem, but videos use this thing called 'm3u8'. Which if I remember right in simple terms are basically references to an entire video or parts of it, as well as the file info. The videos are "formed" from these m3u8 playlist urls, not kept as full size mp4 files.
The problem I was running into was trying to download a video from a m3u8 url as an mp4 (doesn't work, ends up as a broken file), or to construct the video from these m3u8's into a resulting mp4 and download that. So in all honesty, I was just struggling to figure it out. It's totally something that could be worked around since there are other services that manage it.
"script works, but has bugs" is the exact right way to describe this script lol, it needs more time put into it to overcome the confusing little snags. Which is on me.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Hey, Alexander. Thank you making this code. The script works well for photo downloads. I wondered why I couldn't download videos.