mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-07-16 20:59:50 +00:00

By default io.open() convert all '\n' occurrences to '\r\n' when writing files. If the content already contains '\r\n', it will be converted to '\r\r\n', breaking some video players.