I want to recursively run through all the pages of a site but after the first an HTTPError is returned, here is the code:
from urllib.request import Reque