[M]use https proxy
This commit is contained in:
parent
b055f0b11b
commit
8844854711
@ -50,7 +50,7 @@ session = requests.session()
|
|||||||
|
|
||||||
|
|
||||||
def get_proxy():
|
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):
|
def toot(proxy=None):
|
||||||
jandan_pic_url = 'https://jandan.net/pic'
|
jandan_pic_url = 'https://jandan.net/pic'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user