jmcarp / jmcarp/robobrowser

Refresh page

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.7k
Forks
336
PR merge metrics
No merged PRs in 30d

Description

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...

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.