title: Setting a proxy for pandas_datareader
body: <p>System: Anaconda Python 3.6.4 x64 on Win 7 x64</p>
  
  <p>I am trying to use pandas_datareader.data behind a proxy without being able to modify my Windows PATH. </p>
  
  <p>As far as I understand, pandas_datareader uses urllib.requests to connect to the respective service providers. By default, urllib uses an opener which tries to detect the PATH-proxysettings:
  <a href="https://docs.python.org/3.5/howto/urllib2.html#proxies" rel="nofollow noreferrer">https://docs.python.org/3.5/howto/urllib2.html#proxies</a></p>
  
  <p>I can replace the opener to force it to use my specified proxy settings, and <em>as far as I understand</em>, this modifies the behavior of the urllib on a global level, not just for a given instance.</p>
  
  <p>My assumption is that using install_opener({...}) should modify the behavior of pandas_datareader. However, I don't see a change. </p>
  
  <p>Example:</p>
  
  <pre><code>import datetime as dt
  import matplotlib.pyplot as plt
  from matplotlib import style
  import pandas as pd
  import pandas_datareader.data as web
  import urllib
  
  style.use('ggplot')
  
  start = dt.datetime(2015, 1, 1)
  end = dt.datetime.now()
  
  # this fails, since no proxy is set
  df = web.DataReader("TSLA", 'morningstar', start, end)
  
  # install proxies to opener
  proxies = {'http' : 'http://...', 
             'https': 'https://...'}
  proxy_support = urllib.request.ProxyHandler(proxies)
  opener = urllib.request.build_opener(proxy_support)
  urllib.request.install_opener(opener)
  
  # this also fails, why?
  df = web.DataReader("TSLA", 'morningstar', start, end)
  </code></pre>
  
  <p>Could anyone please point me to my mistake?</p>