add timeout for page.content() (#541)

This commit is contained in:
LawyZheng
2024-07-03 17:17:24 +08:00
committed by GitHub
parent 22566f01ce
commit b791cc1ae5
3 changed files with 20 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ SKYVERN_DIR = Path(__file__).parent
REPO_ROOT_DIR = SKYVERN_DIR.parent
INPUT_TEXT_TIMEOUT = 120000 # 2 minutes
PAGE_CONTENT_TIMEOUT = 300 # 5 mins
class ScrapeType(StrEnum):