Yesterday I saw an interesting py slicing on the GitHub platform. So I changed it and added local slicing upload. It's just for fun and if you want to use it commercially, you need to update it yourself. I'm lazy so I won't upgrade. You can get it from here: https://github.com/ymh1146/M3U8-to-Image-hosting.
It has already been uploaded to GitHub. Take it as you like: https://github.com/ymh1146/M3U8-to-Image-hosting