python-geeks / Automation-scripts

Repo for creating awesome automation scripts to make my panda lazier
MIT License
1.05k stars 564 forks source link

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

Open sahil-sagwekar2652 opened 2 years ago

sahil-sagwekar2652 commented 2 years ago

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

sahil-sagwekar2652 commented 2 years ago

I have fixed this issue in my branch. Please assign me this issue so that I can make the pull request. @pawangeek