new_contents: """General utilities for writing scrapers for CiteULike in Python"""
  
  import re
  from htmlentitydefs import name2codepoint
  
  def decode_entities(html):
  	html = re.sub('&#(\d+);', lambda m: unichr(int(m.group(1))), html)
  	html = re.sub('&(%s);' % '|'.join(name2codepoint), lambda m: name2codepoint[m.group(1)], html) 
  	return html
  
subject: Add utils.py for writing scrapers in python