mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-28 01:18:30 +00:00
Update yt_dlp/extractor/udio.py
Co-authored-by: D Trombett <d@trombett.org>
This commit is contained in:
parent
eb3c7e8283
commit
1d91a11cea
@ -81,23 +81,13 @@ def _real_extract(self, url):
|
||||
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,
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user