backwards compatabily
This commit is contained in:
parent
cc29f29ae9
commit
6d1a092f83
|
@ -29,7 +29,7 @@ class YDL:
|
|||
sizes.append(d)
|
||||
return tuple(sizes)
|
||||
|
||||
def playlist_contents(self, url: str) -> dict | bool:
|
||||
def playlist_contents(self, url: str) -> Union[dict, bool]:
|
||||
ydl_opts = merge({
|
||||
'extract_flat': True,
|
||||
'skip_download': True
|
||||
|
|
Reference in New Issue