Prechádzať zdrojové kódy

视频号抓取任务

luojunhui 7 mesiacov pred
rodič
commit
70093f3057
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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()