You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using browser.get(url, stream=True) it does not in fact stream, but wait for the entire content to download and add it to the soup. One has to do browser.session.get(...).
This should be documented somewhere or there should be a get_without_adding_to_soup. I spent 3 hours debugging this yesterday, maybe this can save someone some time in the future.
Hi, and thanks for reporting this! I agree that there should be some fix for stream=True (or at least documentation to describe how it does/doesn't work). At the moment I'm not exactly sure how we should proceed, but I will note that in #288 another user identified a possible workaround for this issue.
When using
browser.get(url, stream=True)
it does not in fact stream, but wait for the entire content to download and add it to the soup. One has to dobrowser.session.get(...)
.This should be documented somewhere or there should be a
get_without_adding_to_soup
. I spent 3 hours debugging this yesterday, maybe this can save someone some time in the future.MechanicalSoup/mechanicalsoup/browser.py
Lines 116 to 128 in c767683
The text was updated successfully, but these errors were encountered: