10 Commits

Author SHA1 Message Date
Qijiang Fan
97de55d4ac [neteasemusic] Add subtitles for NetEaseMusic
1. Use .lrc format lyrics as subtitles if available.
2. Remove the 3rd digit after dot in NetEase's time tag to fit LRC
format standard for time tag.
3. Update lyrics_expr to match empty string after time tag as a
valid lrc (music players uses this to hide previous item's text).
4. Add new regular expressions to match only text for the line with
multiple time tag for translation to avoid time tag is treated part of
lyrics.

This will return at most 2 lyrics. one for original text, the other
for the translated text if it exists.

Also add two extra tests to test:
1. multiple time tag in one line,
2. multiple time tag in one line with time need to be fixed to
hundredth of second rather
than millisecond.
2015-09-26 21:51:08 +08:00
Yen Chi Hsuan
ed848087d5 [neteasemusic] Add more localized names 2015-07-11 01:21:18 +08:00
Yen Chi Hsuan
6ce89aecc3 [neteasemusic] Add localized name 2015-07-11 00:51:35 +08:00
Yen Chi Hsuan
a31e3e7dcb [kuwo] Regular expression improvements
1. Prevent .+ and .*
2. Use [^>]+ instead of spaces for HTML tags
3. Remove unnecessary trailing parts
2015-07-10 23:38:54 +08:00
Yen Chi Hsuan
4eab60cbd2 [netease:djradio] Use compat_itertools_count 2015-07-10 18:59:12 +08:00
Yen Chi Hsuan
397a8ea96e [neteasemusic] Encoding fixes for Python 2.6 and 3.x 2015-07-10 18:43:38 +08:00
Yen Chi Hsuan
15830339ef [neteasemusic] PEP8 2015-07-10 18:30:23 +08:00
ping
02b386f80a [neteasemusic] Changes after review 2015-07-10 13:29:57 +08:00
ping
2da0cad6ae [neteasemusic] Do proper rounding conversion of millisecond timestamps/durations 2015-06-21 11:44:50 +08:00
ping
af1fa6234e [neteasemusic] Add new extractor for music.163.com 2015-06-21 11:12:31 +08:00