摘要: 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 李丰宇 阅读(708) 评论(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 李丰宇 阅读(59) 评论(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 李丰宇 阅读(809) 评论(0) 推荐(0)