Platinum Partner

Urlib2 Proxy Connection With Python And A Screen Scrape Flourish

// description of your code here


import urllib2
req = urllib2.Request(url = 'http://lion.chadwyck.co.uk')
req.set_proxy('march.private.chadwyck.co.uk:3128', 'http')
r = urllib2.urlopen(req)
data = r.read()
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}