I\'m trying to call the extract function and the extract_url function within a function. I get name error: name \'endpoint\' and name \'agg_key\' is not defined.
name error: name \'endpoint\' and name \'agg_key\' is not defined.