|
@@ -57,16 +57,20 @@ class VxMessage():
|
|
|
elif "https://v.kuaishou.com" in content:
|
|
|
channle = "kuaishou"
|
|
|
data = kuaishouVideo.get_videoList(vx_message, channle)
|
|
|
+ else:
|
|
|
+ data = "该消息类型不做处理"
|
|
|
elif msg_type == 'link':
|
|
|
if "mp.weixin.qq.com/s" in content:
|
|
|
channle = "gongzhonghao"
|
|
|
data = gongzhonghaoVdieo.get_videoList(vx_message, channle)
|
|
|
+ else:
|
|
|
+ data = "该消息类型不做处理"
|
|
|
elif msg_type == 'channels':
|
|
|
if "nickname" in content:
|
|
|
channle = "shipinhao"
|
|
|
data = shipinhaoVdieo.get_videoList(vx_message, channle)
|
|
|
- else:
|
|
|
- data = "该消息类型不做处理"
|
|
|
+ else:
|
|
|
+ data = "该消息类型不做处理"
|
|
|
with open('/root/single_video_crawler/id', 'w') as file:
|
|
|
file.write(str(id+1))
|
|
|
# 获取当前时间
|