from os import path as os_path, pardir as os_pardir, name as os_name
from sys import version_info


## Python version 
PYTHON_VERSION = version_info.major

## Maximum number or pages to search
SEARCH_ENGINE_RESULTS_PAGES = 2

## HTTP request timeout 
TIMEOUT = 3

## Default User-Agent string 
USER_AGENT = 'search_engines/0.5 Repo: https://github.com/Quantika14/osint-suite-tools'

## Fake User-Agent string - Google desn't like the default user-agent
FAKE_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; rv:73.0) Gecko/20100101 Firefox/73.0'

## Proxy server 
PROXY = None

## TOR proxy server 
TOR = 'socks5h://127.0.0.1:9050'

_base_dir = os_path.abspath(os_path.dirname(os_path.abspath(__file__)))

## Path to output files 
OUTPUT_DIR = os_path.join(_base_dir, 'search_results') + os_path.sep

