Typo fixes in error.py (#711)

Fixing two small typos in the error definition file:
 - "switch to another..." -> ""Switch to another...
    - Capitalizing this sentence 
 - "...parallel connections (e.g. --n 10)" -> "...parallel connections (e.g. -n 10)"
    - Removing the extra `-` for this option
This commit is contained in:
Ben
2022-10-16 04:28:24 -04:00
committed by GitHub
parent 523317e760
commit 10ef102791
+2 -2
View File
@@ -63,9 +63,9 @@ COMMON_ERRORS = {
ERRORS_TYPES = { ERRORS_TYPES = {
'Captcha': 'Try to switch to another IP address or to use service cookies', 'Captcha': 'Try to switch to another IP address or to use service cookies',
'Bot protection': 'Try to switch to another IP address', 'Bot protection': 'Try to switch to another IP address',
'Censorship': 'switch to another internet service provider', 'Censorship': 'Switch to another internet service provider',
'Request timeout': 'Try to increase timeout or to switch to another internet service provider', 'Request timeout': 'Try to increase timeout or to switch to another internet service provider',
'Connecting failure': 'Try to decrease number of parallel connections (e.g. --n 10)', 'Connecting failure': 'Try to decrease number of parallel connections (e.g. -n 10)',
} }
# TODO: checking for reason # TODO: checking for reason