def main(): #- Helpy makes sure you have mechanize, avoids ugly break if you dont. helpy = hel.helpy() helpy.require("mechanize") account_list = helpy.list_builder("accounts.txt") #also handles file readng into list for line in account_list: #Iterate through accounts u,p = line.split(',') #split username and password data up gbot(u,p).start() #start gbot for user
def main(): #- Helpy makes sure you have mechanize, avoids ugly break if you dont. helpy = hel.helpy() helpy.require("mechanize") account_list = helpy.list_builder( "accounts.txt") #also handles file readng into list for line in account_list: #Iterate through accounts u, p = line.split(',') #split username and password data up gbot(u, p).start() #start gbot for user
def __init__(self, username, password): '''/ Initialize function Sets up browser with ease using helpy scripts stores url and some other user data ''' threading.Thread.__init__(self) #- Build browser for web process self.helpy = hel.helpy() self.br = self.helpy.phttp(self.helpy.random_item("proxies.txt"), self.helpy.random_item("user-agents.txt")) #- Initialize Variables self.username = username self.password = password self.home = "http://www.gaiaonline.com" self.gsi = self.home + "/chat/gsi/?" self.gold_amt = '' self.ssid = '' self.tokens = '' self.tickets = ''
def __init__(self,username,password): '''/ Initialize function Sets up browser with ease using helpy scripts stores url and some other user data ''' threading.Thread.__init__(self) #- Build browser for web process self.helpy = hel.helpy() self.br = self.helpy.phttp( self.helpy.random_item("proxies.txt"), self.helpy.random_item("user-agents.txt") ) #- Initialize Variables self.username = username self.password = password self.home = "http://www.gaiaonline.com" self.gsi = self.home + "/chat/gsi/?" self.gold_amt = '' self.ssid = '' self.tokens = '' self.tickets = ''