From: Mint <> Date: Sun, 11 Dec 2022 11:32:15 +0000 (+0300) Subject: Use reqto wrapper for requests X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=46e0ac0c0a90ab8328b4571869528c23462d3cc4;p=fba.git Use reqto wrapper for requests --- diff --git a/fetch_blocks.py b/fetch_blocks.py index 9c9ee45..5e076e7 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -1,5 +1,5 @@ -from requests import get -from requests import post +from reqto import get +from reqto import post from hashlib import sha256 import sqlite3 from bs4 import BeautifulSoup diff --git a/fetch_instances.py b/fetch_instances.py index 7d6f7c8..7d5ab24 100644 --- a/fetch_instances.py +++ b/fetch_instances.py @@ -1,4 +1,4 @@ -from requests import get +from reqto import get from hashlib import sha256 import sqlite3 import sys diff --git a/requirements.txt b/requirements.txt index 519ef47..c5e5818 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,5 @@ fastapi uvicorn requests jinja2 +eventlet +reqto