-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backend: Web scrape tool -> Remove co reader implementation and use a…
…iohttp GET (#867) * wip * wip * wip * Use aiohttp request for web scrape. add timeout. add title
- Loading branch information
1 parent
81a6f32
commit c536bd6
Showing
2 changed files
with
46 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from aiohttp import ClientTimeout | ||
|
||
TIMEOUT_SECONDS = 15 | ||
ASYNC_TIMEOUT = ClientTimeout(total=TIMEOUT_SECONDS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters