Is it possible to force the RoboBrowser instance to reload a page?
In my use case, I'm waiting for a download to finish before scanning for hrefs to follow, but the parsed() method doesn't appear to update as the page loads – e.g. it's forever stuck at 0% downloading even though the expected wait time is 30s. If I refresh the page mid-download (manually), it doesn't interrupt the download progress. My guess is that parsed() references a snapshot of sorts taken once when a page loads, and further invocations reference that snapshot instead of the live HTML?
I've tried invoking the open() method again, but that seems to create a new "window" of sorts, losing all the download progress...
Is it possible to force the RoboBrowser instance to reload a page?
In my use case, I'm waiting for a download to finish before scanning for hrefs to follow, but the
parsed()
method doesn't appear to update as the page loads – e.g. it's forever stuck at 0% downloading even though the expected wait time is 30s. If I refresh the page mid-download (manually), it doesn't interrupt the download progress. My guess is thatparsed()
references a snapshot of sorts taken once when a page loads, and further invocations reference that snapshot instead of the live HTML?I've tried invoking the
open()
method again, but that seems to create a new "window" of sorts, losing all the download progress...Thanks!