feat: add realistic http headers and replace requests with urllib in http_client

Replace the `requests` library with `urllib` for HTTP calls, introduce a pool of realistic User-Agent strings and dynamic header generation (Accept-Language, Accept, etc.) in `http_client.py`, and remove the `requests>=2.31.0` dependency from `requirements.txt`.
This commit is contained in:
2025-11-08 00:44:23 +00:00
parent 2b97715007
commit fe496c007b
12 changed files with 352 additions and 91 deletions
+1 -2
View File
@@ -6,5 +6,4 @@ gitpython==3.1.43
websockets==13.0.1
pytest==8.3.2
bcrypt==4.1.3
python-slugify==8.0.4
requests>=2.31.0
python-slugify==8.0.4