mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-13 11:45:29 +00:00
Update yt_dlp/extractor/udio.py
Co-authored-by: D Trombett <d@trombett.org>
This commit is contained in:
@@ -81,23 +81,13 @@ class UdioIE(InfoExtractor):
|
||||
default=None,
|
||||
)
|
||||
|
||||
# If found, add lyrics to the entry
|
||||
entry = {
|
||||
'id': artist_id,
|
||||
'title': title.strip(),
|
||||
'url': audio_src,
|
||||
}
|
||||
if lyrics:
|
||||
entry['lyrics'] = lyrics
|
||||
|
||||
return {
|
||||
'_type': 'playlist',
|
||||
'id': artist_id,
|
||||
'title': title.strip(),
|
||||
'description': description,
|
||||
'description': lyrics,
|
||||
'uploader': artist_name.strip(),
|
||||
'uploader_url': f'https://udio.com/artist/{artist_name.strip()}',
|
||||
'entries': [entry], # Put the entry in an entries list
|
||||
'url': audio_src,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user