浏览代码

增加日志

zhangyong 1 年之前
父节点
当前提交
113efd6f60
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      video_capture/douyin/douyin_author/douyin_author.py

+ 2 - 0
video_capture/douyin/douyin_author/douyin_author.py

@@ -129,6 +129,8 @@ class douyinAuthor():
                 for i in range(len(data)):
                     try:
                         entity_type = data[i].get('search_impr').get('entity_type')
+                        Common.logger().info(
+                            f"非视频:{entity_type}")
                         if entity_type == 'GENERAL':
                             count += 1
                             video_id = data[i].get('aweme_id')  # 文章id