Merge branch 'feature/brightdata_proxy' into feature/auto_with_checkresults

This commit is contained in:
Lei PAN
2022-06-01 16:46:39 +02:00
7 changed files with 136 additions and 35 deletions
+7 -2
View File
@@ -10,11 +10,16 @@ oracle_log_sender = LogSender()
# proxy
PROXY_SERVER = "http://gw.ntnt.io:5959"
PROXY_PASSWORD = "94sY7zwBG13i"
BRIGHT_DATA_PROXY_SERVER = "http://zproxy.lum-superproxy.io:22225"
BRIGHT_DATA_PROXY_USERNAME = " lum-customer-c_daabba94-zone-residential-country-fr"
BRIGHT_DATA_PROXY_PASSWORD = "9dwmh54u3bbh"
PROXY_NAME_PREFIX_RES = "panleicim-res-fr-"
PROXY_NAME_PREFIX_CC = "panleicim-cc-fr-"
def get_proxy_name_prefix(proxy_type = 0) -> str:
if proxy_type ==0:
def get_proxy_name_prefix(proxy_type=0) -> str:
if proxy_type == 0:
return PROXY_NAME_PREFIX_RES
else:
return PROXY_NAME_PREFIX_CC