摘要: 参考资料: https://www.jianshu.com/p/2c72f20b87cf 酷狗音乐API 酷狗音乐搜索api http://mobilecdn.kugou.com/api/v3/search/song?format=json&keyword=分分钟需要你 http://songsea 阅读全文
posted @ 2021-12-29 11:46 李丰宇 阅读(985) 评论(0) 推荐(0)
摘要: def download(song_id,text): try: url = 'http://music.163.com/song/media/outer/url?id=' + str(song_id) response = requests.get(url) content = response. 阅读全文
posted @ 2021-12-28 22:15 李丰宇 阅读(506) 评论(0) 推荐(0)
摘要: 参考文: https://blog.csdn.net/fei347795790/article/details/111164254 Python实现自动发送B站直播弹幕软件 https://blog.csdn.net/fzq13994952987/article/details/100861372 阅读全文
posted @ 2021-12-28 21:43 李丰宇 阅读(3365) 评论(0) 推荐(0)
摘要: 腾讯官方获取qq用户头像照片API http://q1.qlogo.cn/g?b=qq&nk=2714494640&s=100 参数说明: | 参数 | 描述 | | | | | b | 固定参数'qq' | | nk | 请求的QQ号 | | s | 图片尺寸见下表 | 头像尺寸: | s/spe 阅读全文
posted @ 2021-12-27 09:35 李丰宇 阅读(4343) 评论(0) 推荐(0)
摘要: import requests import json def qmusic(): # 搜索api url = 'https://c.y.qq.com/soso/fcgi-bin/client_search_cp?aggr=1&cr=1&flag_qc=0&p=1&n=1&w=' MusicName 阅读全文
posted @ 2021-12-26 17:13 李丰宇 阅读(714) 评论(0) 推荐(0)
摘要: 参考资料: https://www.jianshu.com/p/ebe52d2d468f Markdown语法大全(超级版) https://jingyan.baidu.com/article/ed15cb1b98ddbc1be3698187.html Markdown常用命令(1) https:/ 阅读全文
posted @ 2021-12-26 15:48 李丰宇 阅读(61) 评论(0) 推荐(0)
摘要: import json import requests def Translate(): try: url = "http://fanyi.youdao.com/translate" msg = "需要翻译的内容" params = { 'doctype': 'json', 'type': 'AUT 阅读全文
posted @ 2021-12-26 14:55 李丰宇 阅读(811) 评论(0) 推荐(0)