I am trying to screenshot all the pages of a textbook i have online. I am opening the book in safari, all i want is to automate in some way the ability to take a fixed location screenshot at intervals save it to downloads or desktop(wherever) and then have a my cursor click the next page button and retake a screenshot a multitude of times would this be possible in anyway?
You can do this with the new screenshot key command - Cmd ⌘ Shift ⇧ 5 set to 'Capture Selected Portion'.
Once set, it will capture nominally to Desktop, each titled ScreenShot date/time [eg
ScreenShot 2021-03-15 at 4.42.15 pm, so they will file alphabetically. You can capture using Return/Enter or by clicking the Capture button. The selection area is remembered between snaps.
You could potentially automate this, but it's a swift process, so I doubt you'd really need to.
If you need to change the file save location, see How do I change the location of macOS screen captures?
Yes it is feaseble, you can do it using automator to:
[Repeat X times]
1 - Screenshot the whole screen.
2 - Activate your favorite image editor (ie Photoshop)
3 - Paste
4 - Activate Safari back
5 - Click
Later you will crop the image to the portion of the screen you want, and export each layer as a single page. Photoshop has a built in script for doing that.
Now the there are some issues, like waiting for the page to load, and cliking the right place. You can instruct automator to wait a few seconds, if you trust your connection and the textbook server - or else you might end up with a very messi situation. The click is also tricky, you can use third party apps like "cliclick" to set an absolute point like (1200x,800y), providing the "next page" button is always on the same position. Also, you may want to restrict it to, say 50 loops, because the images will eat a lot of memory if you do 2000 pages in a row, and the system can crash.
I would choose to avoid the click and loop. You can do everything else using a short cut. I know, it is tiresome, 2000 times the shortcut + a click, but if it is not something you do on a daily basis, I belive it worth the trouble.
But since you are pirating stuff, don't you think it is easyer to look it up on piratebay or something? Like others have said before, show us the URL so we can provide better answers.