mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-02-21 16:37:21 +08:00
commit
a44016a7cf
@ -51,7 +51,7 @@ def search_videos(search_term: str,
|
||||
logger.info(f"searching videos: {query_url}, with proxies: {proxies}")
|
||||
|
||||
try:
|
||||
r = requests.get(query_url, headers=headers, proxies=proxies, verify=False)
|
||||
r = requests.get(query_url, headers=headers, proxies=proxies, verify=False, timeout=(30, 60))
|
||||
response = r.json()
|
||||
video_items = []
|
||||
if "videos" not in response:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user