I'm VERY much a Python beginner and still very much unfamiliar with good scripts. I am trying to scrape Yearbook pictures from a website and each picture is connected to the link of the page, where the picture changes when the link changes. So for example, the "0001" in the link is the first page of the yearbook, whereas "0175" would be the 175th page.
I want Python to scrape all 200 pictures and save them to a file on my computer by using the links and searching/saving manually all the pages of the books by changing the numbers in the link. I got a basic script online, but anytime I use it, I keep getting "indentationerror" or other such errors, and I think my script is just wrong. The script will be inserted below. Any help would be enormously appreciated.
this is what it should have been