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
It needs a bit of fleshing out to deal with ... args to read_html() and write_html(), to it would be nice to have a default filename generated from the URL.
The text was updated successfully, but these errors were encountered:
If you are scraping a website, it is good practise to download the page once and store a copy, so you don't have to keep re-downloading it.
That means that it is easy to end up with lots of code like
It seems like it would be useful to have a single function (
save_html()
perhaps) to do both operations.The dumbest implementation is something like this:
It needs a bit of fleshing out to deal with
...
args toread_html()
andwrite_html()
, to it would be nice to have a default filename generated from the URL.The text was updated successfully, but these errors were encountered: