zhangyong 8 달 전
부모
커밋
93c5abeb8a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data_channel/piaoquan.py

+ 1 - 1
data_channel/piaoquan.py

@@ -296,7 +296,7 @@ class PQ:
             try:
                 payload = {}
                 headers = {}
-                response = requests.request("GET", url_video, headers=headers, data=payload, timeout=5)
+                response = requests.request("GET", url_video, headers=headers, data=payload)
                 if response.status_code == 200:
                     with open(f"{new_video}", "wb") as file:
                         # 将响应内容写入文件