sachin-sankar / swiftshadow

Free IP Proxy rotator library for python
https://sachin-sankar.github.io/swiftshadow/
GNU General Public License v3.0
95 stars 6 forks source link

Remove blocking loop #7

Closed ShrirajHegde closed 1 year ago

ShrirajHegde commented 1 year ago

Remove probably unintentional test code.

The following code creates an infinite loop.

from swiftshadow.swiftshadow import Proxy

If this is intended for fetching proxies and printing them to the terminal, Then checking if __name__ == "__main__" is required.