摘要:
参考资料: https://www.jianshu.com/p/2c72f20b87cf 酷狗音乐API 酷狗音乐搜索api http://mobilecdn.kugou.com/api/v3/search/song?format=json&keyword=分分钟需要你 http://songsea 阅读全文
摘要:
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. 阅读全文
摘要:
参考文: https://blog.csdn.net/fei347795790/article/details/111164254 Python实现自动发送B站直播弹幕软件 https://blog.csdn.net/fzq13994952987/article/details/100861372 阅读全文
摘要:
参考链接: https://www.cnblogs.com/xiao987334176/p/13535646.html https://blog.csdn.net/qq_21570029/article/details/83185168 https://blog.csdn.net/qq_417992 阅读全文
摘要:
参考转载: https://www.dazhuanlan.com/langwirter/topics/1462147 https://www.jianshu.com/p/cdea3ba63cd7 from PIL import ImageFont from PIL import Image from 阅读全文
摘要:
参考资料: https://zhuanlan.zhihu.com/p/27047417 1.用OpenCV OpenCV的imread()只能加载本地的图片,并不能通过网址加载图片。但是,opencv的VideoCapture类可以从url加载视频。如果只用opencv的话,我们可以一个迂回的方式: 阅读全文
摘要:
参考资料: https://blog.csdn.net/dcrmg/article/details/102963336 from PIL import ImageFont from PIL import Image from PIL import ImageDraw # 随机生成图片颜色 color 阅读全文
摘要:
腾讯官方获取qq用户头像照片API http://q1.qlogo.cn/g?b=qq&nk=2714494640&s=100 参数说明: | 参数 | 描述 | | | | | b | 固定参数'qq' | | nk | 请求的QQ号 | | s | 图片尺寸见下表 | 头像尺寸: | s/spe 阅读全文
摘要:
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 阅读全文
摘要:
from PIL import Image def Clipper(): img = Image.open('./001.PNG') width, height = img.size print(width,height) img.show() box = (500, 500, 2500, 1500 阅读全文