浏览代码

Update xiaoiceapi.py

yanwii 8 年之前
父节点
当前提交
d9f36c5af0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      xiaoiceapi.py

+ 1 - 1
xiaoiceapi.py

@@ -78,7 +78,7 @@ class xiaoiceApi():
             text = soup.find("p", class_='page').text
             if text != input_strs or times > 20:
                 break
-            time.sleep(1)
+            time.sleep(0.3)
         return text
             
     def savePage(self, text, file):