From: Sergey M․ Date: Sat, 26 Sep 2015 15:15:34 +0000 (+0600) Subject: [qqmusic] Allow [mm:ss] timestamps X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=95c5e101035eb3a77ebf62d75b2ebaac836373c3;p=youtube-dl [qqmusic] Allow [mm:ss] timestamps --- diff --git a/youtube_dl/extractor/qqmusic.py b/youtube_dl/extractor/qqmusic.py index c88823416..c98539f6a 100644 --- a/youtube_dl/extractor/qqmusic.py +++ b/youtube_dl/extractor/qqmusic.py @@ -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,