SHARE
TWEET

Untitled

a guest Aug 19th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def get_leads_data( session, lead_type ):
  2.     if lead_type == "Need Call":
  3.         params = {
  4.             "ctl00$cph1$filter_Status": "Need Call",
  5.             "__EVENTTARGET": "ctl00$cph1$perPage",
  6.             "__EVENTARGUMENT": "",
  7.         }
  8.     elif lead_type == "Cold Leads":
  9.         params = {
  10.             "__EVENTTARGET": "clickSG",
  11.             "__EVENTARGUMENT": "Cold Leads",
  12.             "ctl00$cph1$filter_Status": "Need Call"
  13.         }
  14.     else:
  15.         raise Exception( "Invalid lead type specified!" )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top