diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-08-11 19:04:23 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-08-11 19:04:23 +0800 |
commit | b1927f4e8a07a7893392135a71fdb6818295bbad (patch) | |
tree | fa4f507a9fb442e101ce123ddf257d35dc880199 /test/test_download.py | |
parent | 3b9323d96e2be7341d2e309124075134ec8a50ca (diff) |
[YoutubeDL] Disable newline conversion when writing subtitles
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.
Diffstat (limited to 'test/test_download.py')
0 files changed, 0 insertions, 0 deletions