torpyorg / torpy

Pure python Tor client implementation
Apache License 2.0
410 stars 51 forks source link

Remove need for "with tor_requests_session() as s" #51

Open Asilomare opened 1 year ago

Asilomare commented 1 year ago

This way, you don't need the context manager for tor_requests_session() anymore. Can now use like this: s = tor_requests_session(): res = s.get("https://google.com")