浏览代码

视频号抓取任务

luojunhui 3 月之前
父节点
当前提交
70093f3057
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tasks/crawler_channel_account_videos.py

+ 1 - 0
tasks/crawler_channel_account_videos.py

@@ -82,6 +82,7 @@ class CrawlerChannelAccountVideos:
 
         video_length = video['objectDesc']['media'][0]['VideoPlayLen']
         if video_length and int(video_length) > 300:
+            print("video to large")
             return
 
         video_item = Item()