1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[qqmusic] Do not capture braced text from the middle of the string

This commit is contained in:
Sergey M․ 2015-09-26 20:54:41 +06:00
parent 961c5cbf17
commit d4cd06138c

View file

@ -114,7 +114,7 @@ class QQMusicIE(InfoExtractor):
actual_lrc_lyrics = ''.join(
line + '\n' for line in re.findall(
r'(\[[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,