{"id":27107068,"url":"https://github.com/primaldjinn/tor_selenium","last_synced_at":"2025-04-06T20:30:25.475Z","repository":{"id":154320938,"uuid":"283891592","full_name":"PrimalDjinn/tor_selenium","owner":"PrimalDjinn","description":"Is a tor selenium binding that reassigns a different IP address each time you connect","archived":false,"fork":false,"pushed_at":"2021-04-06T19:41:26.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T07:27:59.422Z","etag":null,"topics":["python","selenium","tor"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrimalDjinn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-30T22:46:23.000Z","updated_at":"2021-04-06T19:41:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ee50a82-3e14-4b25-b6b8-6791269031e7","html_url":"https://github.com/PrimalDjinn/tor_selenium","commit_stats":null,"previous_names":["primaldjinn/tor_selenium"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimalDjinn%2Ftor_selenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimalDjinn%2Ftor_selenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimalDjinn%2Ftor_selenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimalDjinn%2Ftor_selenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrimalDjinn","download_url":"https://codeload.github.com/PrimalDjinn/tor_selenium/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247546868,"owners_count":20956437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","selenium","tor"],"created_at":"2025-04-06T20:30:23.332Z","updated_at":"2025-04-06T20:30:25.470Z","avatar_url":"https://github.com/PrimalDjinn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tor_sellenium\n\nThis is a simple working python program that changes your IP address each time you connect\n\n## Getting started\n\n* open powershell/terminal as administrator(this will help us deal with some issues that may arise)\n* change directory to your preferred directory (unnecessary, just note the current directory so that you don't lose your files) Use  ```cd``` to change directory eg ```cd desktop``` will change the working directory to the desktop which I can recommend as it is easy to find the files later.\n* type ```mkdir tor_tests``` We are making a directory named 'Project', but you can call it whatever you want.\n* then cd into it using the command ```tor_tests``` (this makes it the current working directory)\n* create a virtual environment ```python -m venv myvenv```(this creates a virtual environment for python)\n* activate the environment using ```myvenv/Scripts/activate``` (Note the S is capital). You may receive an error because running scripts is disabled. At this point restart powershell this time as administrator and type in this command 'set-executionpolicy remotesigned'. It will allow local scripts to run.\n\nNow we laugh HAHAHA\n### More requirements\nYou need Tor\nDownload it from [here](https://www.torproject.org/download/)\n\nInstall the requirements for the file to run as specified in [requirements.exe](https://github.com/kgarchie/tor_selenium/blob/master/requirements.txt)\n\nAfter Stem is installed we need to fix a bug\n  - go to (*the relative path is*)`myvenv/Lib/site-packages/stem` and edit the stem file called process.py on line 204\n  it reads by default\n  ```python\n  def launch_tor_with_config(config, tor_cmd = 'tor', completion_percent = 100, init_msg_handler = None, timeout = DEFAULT_INIT_TIMEOUT, take_ownership = False, close_output = True):\n  # the rest of the code\n    pass\n  ```\n  - change it to\n   ```python\n   def launch_tor_with_config(config, tor_cmd = 'where_you_installed_your_tor_browser\\\\Tor Browser\\\\Browser\\\\TorBrowser\\\\Tor\\\\tor.exe', completion_percent = 100, init_msg_handler = None, timeout = DEFAULT_INIT_TIMEOUT, take_ownership = False, close_output = True):\n   # PS make sure it directs to tor.exe wherever the hell it is in your system\n    pass\n   ```\n\nYou need ChromeWebdriver from [here](https://chromedriver.chromium.org/downloads) *i used chrome i'm either too lazy to dig around other browsers or inept*\n\nYou need to know what you are doing\n\nrun the file using `python tor_tests.py`\n\ni've just given you power beyond your imagination **With great power comes great responsibility** seriously tho use it wisely, I won't be responsible if you end up in prison\n\nfor errors i'll be happy to help just raise an issue or pull request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaldjinn%2Ftor_selenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimaldjinn%2Ftor_selenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaldjinn%2Ftor_selenium/lists"}