requests_html
Why do we need to apply session.close for requests html?
1 answers ( 0 marked as helpful)
Hello Kane,
This is because of the way the package operates. It allocates RAM and has the connection to the webpage open, as long as the session is still active. To clear the cache and tell the computer to stop monitoring the connection, we need to close the session.
Hope this answers your question.
Best,
365 Team