mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01:00
Update _utils.py
This commit is contained in:
parent
60eb1314bc
commit
de3cb27188
1 changed files with 1 additions and 1 deletions
|
|
@ -2435,7 +2435,7 @@ class PlaylistEntries:
|
|||
@classmethod
|
||||
def parse_playlist_items(cls, string):
|
||||
if string.startswith(',') or string.endswith(','):
|
||||
raise ValueError('There is an invalid leading comma or a trailing comma')
|
||||
raise ValueError('There is an invalid leading comma or a trailing comma')
|
||||
for segment in string.split(','):
|
||||
if not segment:
|
||||
raise ValueError('There are two or more consecutive commas')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue