#!/usr/bin/python
# -*- coding: utf-8 -*-

def getCookieValue(key, cookiestr):
    cookies = cookiestr.split('; ')
    cookiedict = dict()
    for cookie in cookies:
        kvarray = cookie.split('=')
        if(len(kvarray) == 1):
            cookiedict[kvarray[0]] = ''
        else:
            cookiedict[kvarray[0]] = kvarray[1]
    return cookiedict[key]
4ecd8d90bed50b3f262657a33f858ecd199b17e1
<mask token>

def getCookieValue(key, cookiestr):
    cookies = cookiestr.split('; ')
    cookiedict = dict()
    for cookie in cookies:
        kvarray = cookie.split('=')
        if len(kvarray) == 1:
            cookiedict[kvarray[0]] = ''
        else:
            cookiedict[kvarray[0]] = kvarray[1]
    return cookiedict[key]

#!/usr/bin/python
# -*- coding: utf-8 -*-

def getCookieValue(key, cookiestr):
    cookies = cookiestr.split('; ')
    cookiedict = dict()
    for cookie in cookies:
        kvarray = cookie.split('=')
        if(len(kvarray) == 1):
            cookiedict[kvarray[0]] = ''
        else:
            cookiedict[kvarray[0]] = kvarray[1]
    return cookiedict[key]