From 3c613018dc2e8c8c3e039fd2495b6ee92bb3ef7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=98=E5=95=9F=E5=8D=8E?= <1029559041@qq.com> Date: Thu, 5 Sep 2019 22:37:46 +0800 Subject: [PATCH] =?UTF-8?q?docker=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PixivSearch/pixiv/pixiv.py | 1 + run.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/PixivSearch/pixiv/pixiv.py b/PixivSearch/pixiv/pixiv.py index de1a2b9..d01febd 100644 --- a/PixivSearch/pixiv/pixiv.py +++ b/PixivSearch/pixiv/pixiv.py @@ -24,6 +24,7 @@ headers = { lock = threading.Lock() # 多线程全局资源锁 total = 1 + address = '127.0.0.1:1080' # proxies = {"http": "socks5://{0}".format(address), "https": "socks5://{0}".format(address)} diff --git a/run.sh b/run.sh index f7e32eb..2347289 100644 --- a/run.sh +++ b/run.sh @@ -1,3 +1,2 @@ #!/usr/bin/env bash -nohup sslocal -s 45.62.118.55 -p 50008 -k 8Ml9e1zR -l 1080 -m chacha20-ietf-poly1305 & python3 manage.py runserver 0.0.0.0:8000 \ No newline at end of file