From dce0b6a3435dd46f2251eb060d482b83671274cf Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 18 Aug 2024 22:42:02 +0300 Subject: [PATCH] Refactor(Robots): Rename `bkmk_robot_base.py` -> `base.py` --- Robots/{bkmk_robot_base.py => base.py} | 0 Robots/bkmk_raiohttp.py | 2 +- Robots/bkmk_rcurl.py | 2 +- Robots/bkmk_rrequests.py | 2 +- doc/ANNOUNCE | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename Robots/{bkmk_robot_base.py => base.py} (100%) diff --git a/Robots/bkmk_robot_base.py b/Robots/base.py similarity index 100% rename from Robots/bkmk_robot_base.py rename to Robots/base.py diff --git a/Robots/bkmk_raiohttp.py b/Robots/bkmk_raiohttp.py index da01cfd..22c84d2 100644 --- a/Robots/bkmk_raiohttp.py +++ b/Robots/bkmk_raiohttp.py @@ -20,7 +20,7 @@ import aioftp import aiohttp import aiohttp.client_exceptions -from Robots.bkmk_robot_base import robot_base, request_headers +from Robots.base import robot_base, request_headers class robot_aiohttp(robot_base): diff --git a/Robots/bkmk_rcurl.py b/Robots/bkmk_rcurl.py index a994176..6c50c30 100644 --- a/Robots/bkmk_rcurl.py +++ b/Robots/bkmk_rcurl.py @@ -17,7 +17,7 @@ from m_lib.defenc import default_encoding import certifi import pycurl -from Robots.bkmk_robot_base import robot_base, request_headers +from Robots.base import robot_base, request_headers class robot_curl(robot_base): diff --git a/Robots/bkmk_rrequests.py b/Robots/bkmk_rrequests.py index a44cdd0..f1e5ba1 100644 --- a/Robots/bkmk_rrequests.py +++ b/Robots/bkmk_rrequests.py @@ -21,7 +21,7 @@ from requests.packages.urllib3.util.ssl_ import create_urllib3_context import requests import urllib3 -from Robots.bkmk_robot_base import robot_base, request_headers +from Robots.base import robot_base, request_headers class robot_requests(robot_base): diff --git a/doc/ANNOUNCE b/doc/ANNOUNCE index 2c75ab3..4efc6b2 100644 --- a/doc/ANNOUNCE +++ b/doc/ANNOUNCE @@ -37,7 +37,7 @@ WHERE TO GET git clone https://git.phdru.name/bookmarks_db.git git clone git://git.phdru.name/bookmarks_db.git - Requires: Python 2.7 or 3.4+, BeautifulSoup 4, lxml, m_lib 2.0+, + Requires: Python 3.6+, BeautifulSoup 4, lxml, m_lib 2.0+, requests and requests-ftp. -- 2.39.5