Using tor expert as service
Project description
About
The main objective of this project is to create an instance of tor expert that can
be used in the same way as the tor browser.
Installation
Most important thing is that you have python 3 installed on your machine.
Deploy virtual environment for your project
Install virtualenv library if you didn't already.pip3.7 install virtualenv
For this project, I'm using Python 3.7 if you have any other python 3 versions
be sure to change the version number on pip.
Then create virtual environment py -3.7 -m virtualenv Envs/myproject
In most cases on WinOS it will be created on path C:\Users\YourUsername\Envs
Activate virtual environment for your project
Activate by simply calling this command C:\Users\YourUsername\Envs\myproject\Scripts\activate.bat
from command prompt.
Installing tor_expert library
pip install tor-expert
Usage
Usage example in Pycharm
- open Pycharm and start a new project and name it however you want
- select existing interpreter and then browse to
C:\Users\YourUsername\Envs\myproject\Scripts\python
- now in the new project create a new python file
- import tor_expert
from tor_expert import tor, settings
- then we need to install tor expert this is only done once or if you want to reinstall it. To do this we need to write the following line
tor.install()
- by default tor expert directory will be installed
C:\Users\YourUsername\Documents\Tor
- now you are ready to crawl data, check crawler_example.py to see an example of usage (https://github.com/DraganMatesic/tor_expert/tree/master/examples).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tor_expert-0.0.3.tar.gz
.
File metadata
- Download URL: tor_expert-0.0.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24dbd5f54d73cb209faeaaee9dc68e56d1488e298d63d49e90e7d0429a36042 |
|
MD5 | 7e2849819046b2cc32e16e0783d03dc8 |
|
BLAKE2b-256 | c18c628c197f3cb5e34c400fc1663a8b68c223425903901fa951f8921b1a7c67 |
File details
Details for the file tor_expert-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: tor_expert-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a0a1e07a0e8eb0cbb7ace3c7f9f94341caad0c967a41ece497f1c198ccfa0c7 |
|
MD5 | 27668c098df763ab918652223c50d7e8 |
|
BLAKE2b-256 | f91b7bbd9f715e820365608fead21a92012aca24672bd991d1c42fc97f2c624a |