Skip to content

Commit

Permalink
added concurrency and max requests parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Feb 28, 2024
1 parent 9bc772f commit 3ed598c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ai_ta_backend/crawlee_ext_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def crawlee_scrape(course_name: str, urls: list):
"match": "",
"maxPagesToCrawl": 10000,
"maxTokens": 2000000,
"maxConcurrency": 20,
"maxRequestsPerMinute": 120,
"courseName": course_name
}
}
Expand Down

0 comments on commit 3ed598c

Please sign in to comment.