How to VPN/Proxy connect in Python?
<p>I'm trying to scrape some pages that are on a website but to view the pages, I need to be connected to a VPN. My setup is as follows:</p>

<ul>
<li>I am running python on a cloud server on www.pythonanywhere.com</li>
<li>I have a VPN with <a href="https://www.privateinternetaccess.com/" rel="noreferrer">https://www.privateinternetaccess.com/</a></li>
</ul>

<p>I want to run a script on pythonanywhere that connects through the VPN so that the traffic appears to be coming from Australia.</p>

<p>The closest answer I have found so far is:</p>

<p><a href="https://stackoverflow.com/questions/13288471/jsoup-over-vpn-proxy">JSoup over VPN/proxy</a></p>