Seemingly lists.cam.ac.uk no longer wants &#...; entity refs, and instead just wants real UTF-8
1 files changed, 1 insertions(+), 3 deletions(-) M listsdotcam.py
M listsdotcam.py +1 -3
@@ 37,9 37,7 @@ from datetime import datetime try: # Python 3 import urllib.request as request - from urllib.parse import urlencode as _urlencode - def urlencode(s): - return _urlencode(s, encoding="ascii", errors="xmlcharrefreplace") + from urllib.parse import urlencode except ImportError: # Python 2 -- NB, won't handle unusual characters at all well import urllib2 as request