I know that I can iterate through the cookies in a cookiejar, and this would allow me to find a cookie with a particular name - but does the CookieJar object itself have any
cookielib.CookieJar?
you can convert jar to a list and process that, e.g. {i.name: i for i in list(j)}
{i.name: i for i in list(j)}
and btw, j._cookies is actually a dict-dict already, though not completely trivially indexed.
cookie jar file?
I thought those were plain text files...