Jaime Marquínez Ferrándiz
8dd5418803
Make 'best' format only match non-DASH formats ( closes #5554 )
Otherwise it's impossible to only download non-DASH formats, for example `best[height=?480]/best` would download a DASH video if it's the only one with height=480, instead for falling back to the second format specifier.
For audio only urls (soundcloud, bandcamp ...), the best audio will be downloaded as before.
9 years ago
Jaime Marquínez Ferrándiz
9f3fa89f7c
Remove the --max-quality option
It doesn't work well with 'bestvideo' and 'bestaudio' because they are usually before the max quality.
Format filters should be used instead, they are more flexible and don't require the requested quality to exist for each video.
9 years ago
Jaime Marquínez Ferrándiz
592e97e855
Postprocessors: use a list for the files that can be deleted
We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
9 years ago
Jaime Marquínez Ferrándiz
531980d89c
[test/YoutubeDL] test match_filter
9 years ago
Jaime Marquínez Ferrándiz
f20bf146e2
[test/YoutubeDL] split in two classes
The name was misleading
9 years ago
Jaime Marquínez Ferrándiz
8508557e77
[test/YoutubeDL] Use valid urls
It failed on python 3.4 when building the http_headers field
9 years ago
Jaime Marquínez Ferrándiz
98c70d6fc7
[YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if 'writesubtitles' is True
9 years ago
Jaime Marquínez Ferrándiz
ab84349b16
[test/YoutubeDL] Add test for subtitles
Updated the offlinetest make target to not skip it
9 years ago
Jaime Marquínez Ferrándiz
0161353d7d
[test/test_YoutubeDL] Remove debug print call
9 years ago
Jaime Marquínez Ferrándiz
2b4ecde2c8
[test/YoutubeDL] Add a simple test for postprocesors
Just checks that the 'keepvideo' option works as intended.
9 years ago
Philipp Hagemeister
083c9df93b
[YoutubeDL] Allow filtering by properties ( Fixes #4584 )
9 years ago
Philipp Hagemeister
0217c78377
[YoutubeDL] Allow selection by more extensions
10 years ago
Philipp Hagemeister
c11125f9ed
[tests] Remove format 138 from tests ( #4559 )
10 years ago
Jouke Waleson
5f6a1245ff
PEP8 applied
10 years ago
Philipp Hagemeister
a053c3493a
[test_YoutubeDL] Reorder formats ( #3542 )
10 years ago
codesparkle
1c783bca88
fixed (what I assume was a typo) that caused test_format_note to always fail.
This test was introduced in c57f775710
.
10 years ago
Philipp Hagemeister
c57f775710
[YoutubeDL] Add simple tests for format_note ( Closes #2825 )
10 years ago
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.
10 years ago
Jaime Marquínez Ferrándiz
bc6d597828
Add bestvideo and worstvideo to special format names ( #2163 )
10 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