Assign requests session cookies directly
Instead of trying to supply the cookies to the requests.session() function, which it doesn't support, modify the returned object instead. The latter seems to be supported.
Instead of trying to supply the cookies to the requests.session() function, which it doesn't support, modify the returned object instead. The latter seems to be supported.