neobots.py 771 B

1234567891011121314151617181920212223
  1. # ---------------------------------------------------------------------
  2. # ---------------------------- neobots --------------------------------
  3. # ------------------------------txtsd----------------------------------
  4. # ---------------------------------------------------------------------
  5. from classes.neoaccount import NeoAccount
  6. from classes.config import Config
  7. account_lines = None
  8. neoaccounts = list()
  9. account_lines = Config.readAccounts()
  10. for line in account_lines:
  11. username, password, proxy, pin = line.split('|')
  12. neoaccounts.append(
  13. NeoAccount(username, password, proxy, pin)
  14. )
  15. # TODO: Add threading to load multiple neoaccounts simultaneously
  16. neoaccount = neoaccounts[0]
  17. configurator = Config(neoaccount)
  18. login_status = neoaccount.login()