mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[qqmusic] Do not capture braced text from the middle of the string
This commit is contained in:
parent
961c5cbf17
commit
d4cd06138c
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ def _real_extract(self, url):
|
|||
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue