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 this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.11.15. 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
The test
test_default_format_specintest.test_YoutubeDL.TestFormatSelection)fails:The failing test subcase is if
'is_live': Trueis given in the constructor ofYoutubeDL.The reason for the failure is that the function
_default_format_spec()(defined in youtube_dl/YoutubeDL.py) uses theinfo_dictpassed as argument to check foris_live. It does not use theself.paramsdictionary which contains the dictionary passed to the constructor at class creation.Possible solutions:
_default_format_spec()function instead of the constructor.self.params(as it currently does forouttmplproperty).