fe80Grau / ytdlp2STRM

A little script to serve Youtube / Twitch / Crunchyroll videos without storage it. Uses yt-dlp HTTP data throught Flask and dynamic URLs. We can use this dynamic URLs to set STRM files.
https://github.com/fe80Grau/ytdlp2STRM
MIT License
173 stars 15 forks source link

Problem with n on file strm #14

Closed newerit closed 8 months ago

newerit commented 9 months ago

http://127.0.0.1:5000/youtube/direct/ pzAmVJ9f8Sg

newerit commented 9 months ago

fil;e strm is ganarate with /n and cause error on player

fe80Grau commented 9 months ago

hi, pull the last commit. I added a simple replace in the write_file function, now it sholdn't create files with \n