소스 검색

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):