Hi,

I'm having a hard time figuring out what is wrong with this piece of code :

Code:
<?xml version="1.0"?>
<window type="window" id="14000">
	<defaultcontrol always="false">100</defaultcontrol>
	<onload lang="python"><![CDATA[
from BeautifulSoup import BeautifulSoup, SoupStrainer
import re
import urllib2

BASE_URL = "http://www.some-url.com"

contents = []

# Get the soup to work with.
response = urllib2.urlopen( BASE_URL )
soup = response.read()
response.close

...
I'm always having that error:

NOTICE: <urlopen error (61, 'Connection refused')>



Any clue?