'license': 'public domain',
'compatible': [1], # compatible module API versions
'depends': [], # other modules required to work properly?
'license': 'public domain',
'compatible': [1], # compatible module API versions
'depends': [], # other modules required to work properly?
hostmask_regex = re.compile('^(.*)!(.*)@(.*)$')
spotify_regex = ( re.compile(r'spotify:(?P<type>\w+):(?P<track_id>\w{22})'),
re.compile(r'http://open.spotify.com/(?P<type>\w+)/(?P<track_id>\w{22})') )
hostmask_regex = re.compile('^(.*)!(.*)@(.*)$')
spotify_regex = ( re.compile(r'spotify:(?P<type>\w+):(?P<track_id>\w{22})'),
re.compile(r'http://open.spotify.com/(?P<type>\w+)/(?P<track_id>\w{22})') )
xml = urllib2.urlopen(url).read()
soup = BeautifulSoup(xml)
lookup_type = soup.contents[2].name
xml = urllib2.urlopen(url).read()
soup = BeautifulSoup(xml)
lookup_type = soup.contents[2].name