wangkun 2 năm trước cách đây
mục cha
commit
bb26f5e33d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      shipinhao/shipinhao_follow.py

+ 2 - 2
shipinhao/shipinhao_follow.py

@@ -163,7 +163,7 @@ class Follow:
         not_top_first_video.click()
         while True:
             cls.get_video_info(log_type, driver, env)
-            driver.swipe(10, 1600, 10, 300, 200)
+            driver.swipe(10, 1800, 10, 200, 300)
             if len(driver.find_elements(By.ID, 'com.tencent.mm:id/g2s')) > 0:
                 Common.logger(log_type).info('到底啦 ~\n')
                 return
@@ -419,7 +419,7 @@ class Follow:
 
                     # 删除行或列,可选 ROWS、COLUMNS
                     time.sleep(1)
-                    Feishu.dimension_range(log_type, "shipinhao", "qzDljJ", "ROWS", i + 1, i + 1)
+                    Feishu.dimension_range(log_type, "shipinhao", "qzDljJ", "ROWS", 2, 2)
                     Common.logger(log_type).info("下载/上传成功\n")
                     # return
         except Exception as e: