[cleanup] Misc (#11347)

Closes #11361
Authored by: avagordon01, bashonly, grqz, Grub4K, seproDev

Co-authored-by: Ava Gordon <[email protected]>
Co-authored-by: bashonly <[email protected]>
Co-authored-by: N/Ame <[email protected]>
Co-authored-by: Simon Sawicki <[email protected]>
This commit is contained in:
sepro
2024-11-04 01:33:21 +01:00
committed by GitHub
co-authored by Ava Gordon bashonly N/Ame Simon Sawicki
parent b03267bf06
commit 197d0b03b6
72 changed files with 239 additions and 253 deletions
+2 -2
View File
@@ -211,10 +211,10 @@ class QQMusicIE(QQMusicBaseIE):
'formats': formats,
**traverse_obj(info_data, {
'title': ('title', {str}),
'album': ('album', 'title', {str}, {lambda x: x or None}),
'album': ('album', 'title', {str}, filter),
'release_date': ('time_public', {lambda x: x.replace('-', '') or None}),
'creators': ('singer', ..., 'name', {str}),
'alt_title': ('subtitle', {str}, {lambda x: x or None}),
'alt_title': ('subtitle', {str}, filter),
'duration': ('interval', {int_or_none}),
}),
**traverse_obj(init_data, ('detail', {