mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-02 03:52:50 -05:00
YoutubeDL: format spec: don't accept a bare '/' (#6124)
This commit is contained in:
@ -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 = [
|
||||
|
Reference in New Issue
Block a user