]> git.phdru.name Git - bookmarks_db.git/commitdiff
Refactor(Robots): Rename `bkmk_robot_base.py` -> `base.py`
authorOleg Broytman <phd@phdru.name>
Sun, 18 Aug 2024 19:42:02 +0000 (22:42 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 19 Aug 2024 08:06:53 +0000 (11:06 +0300)
Robots/base.py [moved from Robots/bkmk_robot_base.py with 100% similarity]
Robots/bkmk_raiohttp.py
Robots/bkmk_rcurl.py
Robots/bkmk_rrequests.py
doc/ANNOUNCE

similarity index 100%
rename from Robots/bkmk_robot_base.py
rename to Robots/base.py
index da01cfd4f5867a4fc9aee7ba1a549deee768009f..22c84d2d74e453b0c688b81f4bb5dba7b42327dc 100644 (file)
@@ -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):
index a9941767929c65e2fa2a3f7d142a06dfeefffe63..6c50c30e1d989fbf766811ecf62cf55872780a45 100644 (file)
@@ -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):
index a44cdd06b0cff4cad65b740018125e8430535681..f1e5ba1dd1ac35fff864acd27f8d2e3a9914d2f1 100644 (file)
@@ -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):
index 2c75ab3d3a4054b870032575453af70d0c8ef94b..4efc6b248e10bdfedd7ded17f713ca0895c63fb7 100644 (file)
@@ -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.