aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/qqmusic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-26 21:15:34 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-26 21:15:34 +0600
commit95c5e101035eb3a77ebf62d75b2ebaac836373c3 (patch)
treee3ea4de1f089005c7a987a073988fc6d5fc933b0 /youtube_dl/extractor/qqmusic.py
parenta5d09d684eef68b42377a651706a61b0b3fca329 (diff)
[qqmusic] Allow [mm:ss] timestamps
Diffstat (limited to 'youtube_dl/extractor/qqmusic.py')
-rw-r--r--youtube_dl/extractor/qqmusic.py2
1 files changed, 1 insertions, 1 deletions
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,