Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def get_leads_data( session, lead_type ):
if lead_type == "Need Call":
params = {
"ctl00$cph1$filter_Status": "Need Call",
"__EVENTTARGET": "ctl00$cph1$perPage",
elif lead_type == "Cold Leads":
params = {
"__EVENTTARGET": "clickSG",
"__EVENTARGUMENT": "Cold Leads",
"ctl00$cph1$filter_Status": "Need Call"
raise Exception( "Invalid lead type specified!" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.