Commit 6c6f0bda authored by Vasyl Bodnaruk's avatar Vasyl Bodnaruk

Add file with proxy list

parent eb949c89
...@@ -111,10 +111,12 @@ MIDDLEWARE = { ...@@ -111,10 +111,12 @@ MIDDLEWARE = {
# PROXY # PROXY
import os
PROXY_LIST_DIR = os.path.dirname(os.path.abspath(__file__))
RETRY_TIMES = 10 RETRY_TIMES = 10
RETRY_HTTP_CODES = [416] RETRY_HTTP_CODES = [416]
PROXY_MODE = 0 PROXY_MODE = 0
PROXY_LIST = PROXY_LIST_DIR + '/proxy.txt'
try: try:
from .local_settings import * from .local_settings import *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment