Skip to content

Commit 862ec69

Browse files
committed
Updated. howlongtobeat__web_wrapper/api_search.py. Page set_default_timeout 90_000
1 parent bfa9103 commit 862ec69

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

howlongtobeat__web_wrapper/api_search.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def _process_name(name: str) -> str:
3434
def get_api_search_raw(game: str) -> dict[str, Any]:
3535
with sync_playwright() as p:
3636
browser = p.webkit.launch()
37+
3738
page = browser.new_page()
39+
page.set_default_timeout(90_000)
3840

3941
page.goto(f"https://howlongtobeat.com/?q={game}", wait_until="commit")
4042

0 commit comments

Comments
 (0)