瀏覽代碼

吉祥幸福 删除无用代码

zhangyong 1 年之前
父節點
當前提交
0aa70dbdbb
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      spider/crawler_online/jixiangxingfu.py

+ 0 - 7
spider/crawler_online/jixiangxingfu.py

@@ -68,10 +68,6 @@ class JXXFRecommend(object):
                             i, index, e
                         ),
                     )
-                except Exception as e:
-                    self.aliyun_log.logging(
-                        code="3000", message="抓取第{}页的时候失败, 报错原因是{}".format(i, e)
-                    )
             if self.limit_flag:
                 return
             time.sleep(random.randint(5, 10))
@@ -134,9 +130,6 @@ class JXXFRecommend(object):
 
 
     def run(self):
-        """
-        先抓取推荐列表的视频, 等待 2 分钟后抓取 detail 页面,等待 5 分钟后,抓取账号视频
-        """
         self.get_recommend_list()