[extractor/youtube] Fix bug in handling of music URLs

Bug in bd7e919a75
Closes #5502
This commit is contained in:
pukkandan 2022-11-12 00:02:07 +05:30
parent bc5c2f8a2c
commit a8c754cc00
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -4286,7 +4286,7 @@ def wrapper(self, url):
if smuggled_data: if smuggled_data:
_smuggle(info_dict, smuggled_data) _smuggle(info_dict, smuggled_data)
if info_dict.get('entries'): if info_dict.get('entries'):
info_dict['entries'] = (_smuggle(i, smuggled_data) for i in info_dict['entries']) info_dict['entries'] = (_smuggle(i, smuggled_data.copy()) for i in info_dict['entries'])
return info_dict return info_dict
return wrapper return wrapper