Passing parameters from a rotating proxy service into a get request : <p>I'm reading urls from a text file:
using this service <a href="https://www.proxyrotator.com/app/rotating-proxy-api/" rel="nofollow noreferrer">https://www.proxyrotator.com/app/rotating-proxy-api/</a>
and it doesn't work obviously.  Thank you.</p>

<pre><code>def checkUrl(url):
    try:
        headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 
        10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 
        Safari/537.36'}
        proxy = 'http://falcon.proxyrotator.com:51337/'
        params = dict(
            apiKey='WZV8jEX49JKz3TaBMHpyD6POOP'       
        )
        resp = requests.get(url, proxy=proxy, params=params, headers=headers)
        return str(resp.status_code)
</code></pre>
