1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

[qqmusic] Allow [mm:ss] timestamps

This commit is contained in:
Sergey M․ 2015-09-26 21:15:34 +06:00
parent a5d09d684e
commit 95c5e10103

View file

@ -129,7 +129,7 @@ class QQMusicIE(InfoExtractor):
actual_lrc_lyrics = ''.join(
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 = {
'id': mid,