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:
+1
-2
@@ -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
|
||||
Reference in New Issue
Block a user