new api
错误的地址
Merge pull request #2 from cmingxu/master

workaround for encoding issue due to usage of ruby 1.9