Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Redirection of output (stdout/stderr) from youtube-dl creates files with unix-type line breaks on Windows #18040
Comments
|
Still happening as of 2019.06.08: Error output correctly uses |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.10.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
Example of storing recent list of supported sites:
youtube-dl -v --list-extractors >ytdl-extractors.txt
ytdl-extractors.txt
Or example of getting title to random trending youtube video ID:
youtube-dl -v -e JIFMN986m8s 1>ytdl-output.txt 2>&1
ytdl-output.txt
Description of your issue, suggested solution and other information
Shouldn't youtube-dl by default use the platform-specific type of line break, when outputting to stdout/stderr!?
I haven't had this issue with earlier versions, but noticed it only recently.
Is it a problem of my python installation (Python 3.7.0 - 32 bit) or of youtube-dl?
The used encodings seem to be right or do they not?