mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-15 19:16:46 +01:00
YoutubeDL: format spec: don't accept a bare '/' (#6124)
This commit is contained in:
parent
e704f87f86
commit
d96d604e53
2 changed files with 3 additions and 0 deletions
|
|
@ -311,6 +311,7 @@ class TestFormatSelection(unittest.TestCase):
|
|||
assert_syntax_error('bestvideo,,best')
|
||||
assert_syntax_error('+bestaudio')
|
||||
assert_syntax_error('bestvideo+')
|
||||
assert_syntax_error('/')
|
||||
|
||||
def test_format_filtering(self):
|
||||
formats = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue