孙永军 1 năm trước cách đây
mục cha
commit
c5fa7d9938
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      spider.py

+ 2 - 2
spider.py

@@ -580,7 +580,7 @@ def test():
     edge.stop()
 
 
-def test1():
+def run1():
     edge = Browser(channel='chromium', headless=True)
     db = zmysql.TiYoumeiDb()
     mid = int(db.query_one("select max(offset) mo from youmei_videos")['mo'])
@@ -593,4 +593,4 @@ def test1():
 
 if __name__ == "__main__":
     time.sleep(random.randint(1, 180))
-    test1()
+    run1()