} &&
. bkmk_db-venv/bin/activate &&
pip install --compile --upgrade beautifulsoup4 lxml m_lib.full \
- requests requests-ftp \
+ "requests[socks]" requests-ftp \
pycurl certifi \
aiohttp aioftp
}
Do not route ftp requests via http(s) proxy; socks5 proxies are ok.
+ Install socks dependency for python-requests.
+
+ Default list of robots is now curl,requests,aiohttp,forking;
+ aiohttp doesn't properly work with SOCKS5 proxies.
+
Version 5.5.0 (2024-08-06)
Robot based on aiohttp.
Do not route ftp requests via http(s) proxy; socks5 proxies are ok.
+ Install socks dependency for python-requests.
+
+ Default list of robots is now curl,requests,aiohttp,forking;
+ aiohttp doesn't properly work with SOCKS5 proxies.
+
Version 5.5.0 (2024-08-06)
Robot based on aiohttp.
from bkmk_objects import parse_params, set_params
robot_names, robot_params = parse_params(
- environ.get("BKMK_ROBOT", "aiohttp,curl,requests,forking"))
+ environ.get("BKMK_ROBOT", "curl,requests,aiohttp,forking"))
def import_robot(robot_name):
],
extras_require={
'html': ['beautifulsoup4', 'lxml'],
- 'requests': ['requests', 'requests-ftp'],
+ 'requests': ['requests[socks]', 'requests-ftp'],
'curl': ['pycurl', 'certifi'],
'aiohttp:python_version>="3.4"': ['aiohttp', 'aioftp'],
},