Primarily because I didn't see that example in the Googling I was doing for possible solutions - 'copy cookiejar', 'new cookiejar', 'initialize', etc didn't return useful results. I'm not sure it would result in much less code though - part of what needs to happen is that the original session cookie needs to be maintained across all the requests. So it would still need to be copied into the new cookiejar. That said, I think that should let me avoid importing urllib2, so I'll give it a shot.
|