From 8844854711659fdfbd6b4602961791616ead26c0 Mon Sep 17 00:00:00 2001 From: Ching Date: Fri, 11 Jun 2021 10:21:34 +0800 Subject: [PATCH] [M]use https proxy --- jandan_toot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jandan_toot.py b/jandan_toot.py index 8bb90ec..9dbc286 100644 --- a/jandan_toot.py +++ b/jandan_toot.py @@ -50,7 +50,7 @@ session = requests.session() def get_proxy(): - return requests.get("http://118.24.52.95:5010/get/").json() + return requests.get("http://118.24.52.95:5010/get/?type=https").json() def toot(proxy=None): jandan_pic_url = 'https://jandan.net/pic'