Browse Source

add lxml to requirements.txt

luojunhui 1 week ago
parent
commit
b83ebbb135
1 changed files with 3 additions and 3 deletions
  1. 3 3
      crawler_sohu_videos_task.py

+ 3 - 3
crawler_sohu_videos_task.py

@@ -1,5 +1,5 @@
 from tasks.crawler_tasks.crawler_video.crawler_sohu_videos import CrawlerSohuHotVideos
-# from tasks.crawler_tasks.crawler_video.crawler_sohu_videos import CrawlerSohuRecommendVideos
+from tasks.crawler_tasks.crawler_video.crawler_sohu_videos import CrawlerSohuRecommendVideos
 
 def main():
     # step1, crawl sohu hot videos
@@ -7,8 +7,8 @@ def main():
     crawler_sohu_hot_videos.deal()
 
     # step2, crawl sohu recommend videos
-    # crawler_sohu_recommend_videos = CrawlerSohuRecommendVideos()
-    # crawler_sohu_recommend_videos.deal()
+    crawler_sohu_recommend_videos = CrawlerSohuRecommendVideos()
+    crawler_sohu_recommend_videos.deal()
 
 if __name__ == '__main__':
     main()