Skip to content

ip_tracker project uses external 'requests' module instead of the built-in 'http' module #928

Open
@sahil-sagwekar2652

Description

@sahil-sagwekar2652

Describe the bug
The ip_tracker project uses the 'requests' module which is not built-in in Python.

To Reproduce
Steps to reproduce the behavior:

  1. If the user does not have 'requests' installed the script will return ImportError.

Solution
Instead if we use the built-in http.client module then the script can be run without any additional requirements.

Additional context
There is nothing wrong with the code, this is an enhancement rather than a bug fix

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions