First solution in Clear category for Cookies by rybld2
def get_cookie(cookie, name):
i = cookie.find(name) + len(name) + 1
res = ''
while i < len(cookie) and not cookie[i] == ';':
res = res + cookie[i]
i += 1
Jan. 3, 2021