Explorar el Código

视频号抓取任务

luojunhui hace 7 meses
padre
commit
70093f3057
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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()