mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-08 06:43:33 +08:00
[qqmusic] Do not capture braced text from the middle of the string
This commit is contained in:
committed by
dabiboo
Unverified
parent
3461760407
commit
18089e8d1f
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user