36
Script to extract m3u8 file from URL
(lemmy.kde.social)
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
How did u go op? I tried to get stream video and failed in my methods. 😥
hi, sorry for the late reply! I finally wrote this nodejs script:
the first argument passed to the script is the url of the webpage. The script uses the puppeteer module to "fake" a browser, in order to receive all the network calls and so on, and then will search through them for the m3u8 playlist. It is very specific and only works on this website, but it can be easily adapted for other websites as well
Thanks heaps for reply. Legend. After using chatgpt and bingchat I got the script cleaned up and working but unfortunately no output. 😥 I dont need the content, I just like to defeat these websites. Oh well. Dont want to bother you. My command was "node your-script.js https://streamingcommunity.express/watch/3330"
uhm that's strange, I just tried executing it on your link and it worked. have you waited at least 5 seconds after running the script?
Thanks for reply, appreciate it. The thing is when i try your code it errors out. So I had to use bingchat or chatgpt to clean it up. Any chance you could upload your file somewhere please?