DedSecInside / gotor

This program provides efficient web scraping services for Tor and non-Tor sites. The program has both a CLI and REST API.
GNU General Public License v3.0
158 stars 44 forks source link

Add configuration file for SOCKS5 proxy #30

Closed KingAkeem closed 1 year ago

KingAkeem commented 1 year ago

Currently the information for connecting to the SOCKS5 proxy is passed using command-line arguments (e.g. -h and -p, for host and port respectively) when running the main program. I think it would be useful if these could be stored and read from a configuration file instead. The command line arguments can take precedent over the configuration file (if passed) but the config file should be the default method of passing this information. The information can be stored in a simple file format such as .env, .yaml and .json where it'll be read/written as needed.

KingAkeem commented 1 year ago

This should also allow configuring of the log level

(Can be added as a flag also, but not needed)

KingAkeem commented 1 year ago

Add a flag to enable/disable usage of Tor