Save page as Text file - Large Web page
I have been trying to get a text file of all my Photo albums on Google Photos. I'm writing a Powershell script to change the text file into a CSV that I can send to friends. This will allow them to find an Album's URL much, much easier (Like Google Plus).
Anyway, the text file works fine for the first part of the web page. But there isn't any more text after about the first 50 Photo Albums. Is there some way to remove this pagination so I get the whole web page?
Any thoughts? Or other methods.
Tüm Yanıtlar (4)
Some websites start with loading a limited part and automatically load more content when you scroll down the page, so make sure that you have loaded the complete page before saving the page.
cor-el tarafından
Yes, I thought of that. I scrolled all the way down to the bottom of my albums thinking that would make a difference. But it didn't.
I'm double-checking this, but it appears that the "middle" of the saved file is missing.
I checked my text file results against the Google Library Photo API web page on https://developers.google.com/photos/library/reference/rest/v1/albums/list. I put 50 in as the page size and ended up with the same ending Album before the "skip" to the end.
So I ended up with the same problem where the Text file needs a pagination and I don't know how to give it one. The text file is only 13KB.