All the information you need has been provided in the previous pages. All you are likely to need for accessing web pages in Python3 is:
from urllib import request
result = request.urlopen(url).read()
result = str(result, encoding='utf-8')
Access to regular expressions is also extremely useful for parsing results:
import re
pattern = re.compile('...pattern...')
match = pattern.match(string)
upresnum = int(match.group(1))