

def comments(url, fb=''):
    'Return the number of times a URL was commented on in Facebook.'
    if (not fb):

        def gfb(url):
            global fb
            return fb(url)
        fb = json.loads(gfb(url))
    else:
        fb = json.loads(url)
    return walkdict(fb, 'comment_count')

dataset/ETHPy150Open miklevin/pipulate/common.py comments/VarMisuse@66/97 `fb`->`url`