Skip to content

Commit e13cdd5

Browse files
committed
feat: better default settings for v3
1 parent 0053fcf commit e13cdd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ class DefaultConfig:
77
language = 'zh_CN' if 'zh' in QLocale.system().name() else 'en_US'
88
test_host = 'translate.googleapis.com'
99
save_hosts = ['translate.googleapis.com', 'translate-pa.googleapis.com']
10-
template = 'https://{}/translate_a/single?client=gtx&sl=en&tl=fr&q=a'
11-
num_workers = 64
10+
template = 'https://{}/translate_a/element.js'
11+
num_workers = 96
1212
timeout = 1.5
1313
repeat = 3
1414

@@ -22,7 +22,7 @@ class DefaultConfig:
2222
(False, '216.58.192.0/19', 'GWS'),
2323
(False, '72.14.192.0/18', 'GWS'),
2424
(False, '74.125.0.0/16', 'GWS'),
25-
(True, '2001:4860:4802:32::/112', 'GWS v6'),
25+
(False, '2001:4860:4802:32::/112', 'GWS v6'),
2626
(False, '2607:f8b0:4000:80a::/112', 'GWS v6'),
2727
(False, '2607:f8b0:4005:801::/112', 'GWS v6'),
2828
(False, '2a00:1450:4010:c0d::/112', 'GWS v6')

0 commit comments

Comments
 (0)