1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 14:45:42 +07:00

YoutubeDL: format spec: don't accept a bare '/' (#6124)

This commit is contained in:
Jaime Marquínez Ferrándiz
2015-08-03 23:04:11 +02:00
parent e704f87f86
commit d96d604e53
2 changed files with 3 additions and 0 deletions

View File

@@ -311,6 +311,7 @@ def assert_syntax_error(format_spec):
assert_syntax_error('bestvideo,,best')
assert_syntax_error('+bestaudio')
assert_syntax_error('bestvideo+')
assert_syntax_error('/')
def test_format_filtering(self):
formats = [