Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional tor_cmd param for Tor not on PATH #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fiveham
Copy link

@fiveham fiveham commented Oct 25, 2019

When I tried to use torrequest, it crashed:

requester = torrequest.TorRequest()
Traceback (most recent call last):
....
OSError: 'tor' isn't available on your system. Maybe it's not in your PATH?

When torrequest calls stem.process.launch_tor_with_config, it does not specify a tor_cmd param; so, the default value 'tor' is used. I have Tor, but it's not on the PATH and never will be (because an anonymous person on the internet said that would be a security risk).

By adding this optional param for TorRequest, other users in my situation should be able to use the class much more easily by specifying tor_cmd='path/to/tor/folder/TorBrowser/Tor/tor.exe' for example.

@fiveham
Copy link
Author

fiveham commented Oct 25, 2019

#2

@fiveham fiveham mentioned this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant