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.
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.05.16. 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
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.
I'm using youtube-dl as a python module in a script. i'm running youtube-dl 2016.05.16 and python 2.7.10 on mac os 10.11. The problem i'm having is getting youtube-dl to report the name of the file it downloads. i'm using the ydl.extract_info function but the file extension will be different from what is reported by youtube-dl and what is actually saved. here is the code
so my download_target variable will have something like "downloaded_file.mp4" but the actually file is "downloaded_file.mkv". I'm guessing since it was a youtube download ffmpeg muxed the audio and video together making it an mkv file? But i need to preserve file extensions when i can so i know its type for further processing. thats why i'm using the ".%(ext)s" in the 'outtmpl' option. anything i'm doing wrong here or is this just what happens when ffmpeg gets used.