# ProxyBot, запуск роботов
def ProxyBot(license, BOTNAME, VERSION):
while True:
count = 0
providers = get_providers()
print '%s\r\n%s\r\n%s\r\n' % (t, x, t)
print "Hi, I'm %s %s" % (BOTNAME, VERSION)
print
print '****** Run Menu ******'
print '* 1. Run CheckBot *'
print '* 2. Run SearchBot *'
print '* 3. Run PlistBot *'
print '* 4. Run StreamBot *'
print '* 5. Run CheekyBot *'
print '* *'
print '* 0. Exit ProxyBot *'
print '**********************'
print 'Press key 1-5 or 0 for exit...'
key = msvcrt.getch()
print key
if get_license(license):
if len(providers) > 0:
# Запуск CheckBot
if key == b'1':
os.system('start CheckBot.py CheckBot 1.0.0')
# Запуск SearchBot
if key == b'2':
for provider in providers:
if provider[0].find('*') == -1:
os.system('start SearchBot.py %s SearchBot 1.0.0' % provider[0])