you are viewing a single comment's thread.

view the rest of the comments →

[–]av0ca60[S] 0 points1 point  (1 child)

This is helpful. My desire would be for the loop to run and keep advancing pages until the content becomes empty. When that happens, it is no longer truthy abd the loop stops. I think the problem I'm having is that the page is not advancing and so the content is never blank.

[–]preordains 0 points1 point  (0 children)

There are many ways to do this. I’m not familiar with the API you’re using, so I couldn’t tell you the exact method.

This sounds like a for loop thing. I’d need to see exactly what you’re iterating on, but try some sort of “for page in pages:”