mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 14:14:54 +01:00
[qqmusic] Allow [mm:ss] timestamps
This commit is contained in:
parent
a5d09d684e
commit
95c5e10103
|
@ -129,7 +129,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
actual_lrc_lyrics = ''.join(
|
actual_lrc_lyrics = ''.join(
|
||||||
line + '\n' for line in re.findall(
|
line + '\n' for line in re.findall(
|
||||||
r'(?m)^(\[[0-9]{2}:[0-9]{2}\.[0-9]{2,}\][^\n]*|\[[^\]]*\])', lrc_content))
|
r'(?m)^(\[[0-9]{2}:[0-9]{2}(?:\.[0-9]{2,})?\][^\n]*|\[[^\]]*\])', lrc_content))
|
||||||
|
|
||||||
info_dict = {
|
info_dict = {
|
||||||
'id': mid,
|
'id': mid,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user