• suduo_1987

    Because some reasons,I must use a VPN connection(eg.Surge ...) to access google :(sad
    When I use 'requests' module to get data from google in Pythonista(iOS) , I'll get a error([Errno 54] reset by client) whether use VPN or not.but I can visit google by VPN inSafari.
    but when I apply a http/https proxy whitch is one of my lan device to 'requests' module,the module works fine.
    Is there any way to use the phone self VPN to my script?
    PS:
    ==============================================
    My script
    ==============================================
    resp=requests.request(
    url='https://www.google.com',
    method='GET',
    proxies={'https':'192.168.1.1:8080'}
    )
    ===============================================
    200 OK
    No self proxy
    All Connection

    Thanks

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!