Skip to content

Commit

Permalink
[ie/netease:program] Improve --no-playlist message (#9488)
Browse files Browse the repository at this point in the history
Authored by: pzhlkj6612
  • Loading branch information
pzhlkj6612 committed May 10, 2024
1 parent 6b54ccc commit 73f1211
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yt_dlp/extractor/neteasemusic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 73f1211

Please sign in to comment.