projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d09d6
)
[qqmusic] Allow [mm:ss] timestamps
author
Sergey M․
<dstftw@gmail.com>
Sat, 26 Sep 2015 15:15:34 +0000
(21:15 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 26 Sep 2015 15:15:34 +0000
(21:15 +0600)
youtube_dl/extractor/qqmusic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/qqmusic.py
b/youtube_dl/extractor/qqmusic.py
index c888234164ab73602ea11bc580be246e420f0579..c98539f6a63c05fd99e0758fe38295afce2304a2 100644
(file)
--- 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,