Cannot figure out this error message. Can someone help? Error appears on the re.findall line.
import re, urllib.request
infile = open('phone_numbers.txt')
for line in infile:
line = line.strip()
area=line[0:3]
area1=line[5:7]
area2=line[8:12]
xyz = 'http://usreversephonedirectory.com/results.php?areacode='+ area +'&phone1='+ area1 +'&phone2='+ area2 +'&imageField.x=193&imageField.y=16&type=phone&Search=Search&redir_page=results%2Fphone%2F'
print(area + area1 + area2)
page = urllib.request.urlopen(xyz)
text = page.read()
text = text.strip()
location = re.findall('>Location:</strong>(.+)</span><br/> <span><strong>Line', text)
print(line + '|' + location[0])
infile.close()