소스 검색

增加日志

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