0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[ie/netease:program] Improve --no-playlist message (#9488)

Authored by: pzhlkj6612
This commit is contained in:
Mozi 2024-05-10 17:13:35 +00:00 committed by GitHub
parent 6b54cccdcb
commit 73f12119b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -561,7 +561,8 @@ def _real_extract(self, url):
'timestamp': ('createTime', {self.kilo_or_none}),
})
if not self._yes_playlist(info['songs'] and program_id, info['mainSong']['id']):
if not self._yes_playlist(
info['songs'] and program_id, info['mainSong']['id'], playlist_label='program', video_label='song'):
formats = self.extract_formats(info['mainSong'])
return {