Skip to content

Commit

Permalink
Merge branch 'pr/52'
Browse files Browse the repository at this point in the history
  • Loading branch information
darknessomi committed Mar 25, 2015
2 parents b211005 + e8b80c4 commit e6051cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions NEMbox/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @Author: omi
# @Date: 2014-08-24 21:51:57
# @Last Modified by: omi
# @Last Modified time: 2015-03-25 16:20:11
# @Last Modified time: 2015-03-25 17:32:54


'''
Expand All @@ -18,6 +18,10 @@
import hashlib
import random

default_timeout = 10

log = logger.getLogger(__name__)

# 加密算法, 基于https://github.com/yanunon/NeteaseCloudMusic脚本实现
def encrypted_id(id):
magic = bytearray('3go8&$8*3*3h0k(2)2')
Expand Down Expand Up @@ -58,11 +62,6 @@ def geturl(song):
return url, quality


default_timeout = 10

log = logger.getLogger(__name__)


class NetEase:
def __init__(self):
self.header = {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ NetEase-MusicBox

### 功能特性

1. 320kbps的高品质音乐
1. 320kbps的高品质音乐(播放时显示HD标记)
2. 歌曲,艺术家,专辑检索
3. 网易热门歌曲排行榜
4. 网易新碟推荐
Expand Down Expand Up @@ -115,7 +115,7 @@ Enjoy it !

### 更新日志

2015-03-25 版本 0.1.4.0 优先使用320kbps音源 (感谢chaserhkj反馈)
2015-03-25 版本 0.1.4.0 优先使用320kbps音源,优化线路,显示当前音乐音质 (感谢chaserhkj反馈)

2015-03-24 版本 0.1.3.4 增加向上/向下移动项目功能 (感谢chaserhkj提交)

Expand Down

0 comments on commit e6051cf

Please sign in to comment.