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
228 stars 21 forks source link

Problem with n on file strm #14

Closed newerit closed 1 year ago

newerit commented 1 year ago

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

newerit commented 1 year ago

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

fe80Grau commented 1 year ago

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