mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-02 23:47:08 +02:00
Update yt_dlp/extractor/qqmusic.py
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
This commit is contained in:
parent
816a5c33ee
commit
ce17a1dd43
@ -203,7 +203,7 @@ def _real_extract(self, url):
|
||||
self.raise_login_required()
|
||||
|
||||
if traverse_obj(data, ('req_2', 'code')):
|
||||
self.report_warning(f'Failed to download lyric, error {data["req_2"]["code"]}')
|
||||
self.report_warning(f'Failed to download lyric, error {data["req_2"]["code"]!r}')
|
||||
lrc_content = traverse_obj(data, ('req_2', 'data', 'lyric', {lambda x: base64.b64decode(x).decode('utf-8')}))
|
||||
|
||||
info_dict = {
|
||||
|
Loading…
Reference in New Issue
Block a user