I wrote a python code to read a webpage and I want to use in
I wrote a python code to read a webpage and I want to use index to strip out the title tags and just read NAVIGATE FORWARD | AT ROWAN-CABARRUS COMMUNITY COLLEGE. Here it is:import urllib.requestpage = urllib.request.urlopen(‘http://www.rccc.edu’)titleCount = 0line = page.readline().decode(‘utf-8’)while line != ” and ” not in line: line = page.readline().decode(‘utf-8’) while line != ” and ” not in line: titleCount = titleCount + 1 line = page.readline().decode(‘utf-8’)