摘要: idhttp.get(AURL:string):string;//返回字符串idhttp.get(AURL:string;AResponseContent: TStream)//返回流基于网站的不同编码格式,第二种返回流的更加适用 1 function httpGetByStr(Url: strin... 阅读全文
posted @ 2014-11-21 10:03 AB.。 阅读(2965) 评论(0) 推荐(0) 编辑
摘要: 上篇中得到的JSON穿通过解析可以得到以下数据TSearchKg=recordsingername:string;//歌手名filename:string;//歌词名hash:string;//哈希验证timelength:string;//时长end;酷狗歌词下载Url:http://mobile... 阅读全文
posted @ 2014-11-10 17:28 AB.。 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 酷狗歌词Url: http://lib9.service.kugou.com/websearch/index.php?page=1&cmd=100&pagesize=9&keyword= +歌名酷狗歌词编码:UTF-8中文歌名转UTF8编码代码 1 function StrToHex(str: st... 阅读全文
posted @ 2014-11-10 17:13 AB.。 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 1 function KrcToLrc(filename: string): string; 2 function ZDecompressStr2(const S: TBytes): UTF8String; 3 var 4 BIn, BOut: TBytes; 5 begin ... 阅读全文
posted @ 2014-11-10 16:56 AB.。 阅读(2296) 评论(0) 推荐(0) 编辑
摘要: 学习Delphi也有3年有余了,却从来没有记录过任何学习心得;时常用过就忘,用时再查;也不知如今水平如何,更不知学习和使用过程中是否走了错路或者弯路;以博客记录以往以及未来的学习历程,希望可以坚持下来! 阅读全文
posted @ 2014-11-10 16:39 AB.。 阅读(120) 评论(0) 推荐(0) 编辑