diff --git a/src/net/download.ts b/src/net/download.ts index 5e2e157..1021365 100644 --- a/src/net/download.ts +++ b/src/net/download.ts @@ -1,6 +1,3 @@ -import zlib from 'zlib' -import http from 'http' -import https from 'https' import crypto from 'crypto' import * as qrcUtil from '../lyric/qrc' import * as krcUtil from '../lyric/krc' @@ -20,16 +17,6 @@ interface IQQMusicLyricDownloadOption { singerName?: string | string[] } -/** QQ音乐歌词下载结果 */ -interface IQQMusicDownloadResult { - /** 歌词内容 */ - lyric: string - /** 翻译内容 */ - trans: string | null - /** 音译内容 */ - roma: string | null -} - /** * 从QQ音乐API下载歌词 * @param option 下载选项 @@ -131,6 +118,8 @@ interface IKugouLyricDownloadOption { * * __`id`和`accessKey`可以通过歌词搜索api获得__ * + * `http://lyrics.kugou.com/search?ver=1&man=yes&client=pc&keyword=&duration=&hash=` + * * @param option 下载选项 * @returns krc歌词文本内容 */