Commit Graph

14 Commits (d2d6481afb064b6d809e3b131bd7365e2aeee1e1)

Author SHA1 Message Date
Philipp Hagemeister 3537b93d8a [tests] Fix YoutubeDL tests
Since bec1fad, the id, title, and url (also in formats) keys are mandatory. Change the tests to reflect that.
11 years ago
Jaime Marquínez Ferrándiz bc6d597828 Add bestvideo and worstvideo to special format names (#2163) 11 years ago
Philipp Hagemeister 8908741806 Use unicode_literals in test_YoutubeDL 11 years ago
Philipp Hagemeister ba7678f9cc Add -f bestaudio (Fixes #2163) 11 years ago
Philipp Hagemeister 3d4a70b821 Add more tests for format selection 11 years ago
Philipp Hagemeister 8e3e03229e [YoutubeDL] fix tests (Closes #2036) 11 years ago
Jaime Marquínez Ferrándiz 26e6393134 Set 'NA' as the default value for missing fields in the output template (fixes #1931)
Remove the `except KeyError` clause, it won't get raised anymore
11 years ago
Jaime Marquínez Ferrándiz b6c45014ae Set the extra_info inside YoutubeDL.process_ie_result and set only if the keys are missing 11 years ago
Philipp Hagemeister 646e17a53d Fix YouTubeDL test 11 years ago
Jaime Marquínez Ferrándiz 49e86983e7 Allow to use the extension for the format selection
The best format with the extension is downloaded.
11 years ago
Jaime Marquínez Ferrándiz a9c58ad945 Accept requested formats to be in the format 35/best (closes #1552)
The format selection code is now an independent function.
11 years ago
Philipp Hagemeister f4d96df0f1 Extend #980 with --max-quality support 11 years ago
Philipp Hagemeister 5d254f776a Fix test 11 years ago
Jaime Marquínez Ferrándiz e028d0d1e3 Implement the prefer_free_formats in YoutubeDL 11 years ago