Пример #1
0
    def __init__(self):
        self.driver = SeleniumUtils.getChromedriver(__file__)
        self.CHART_DISP_LIMIT = 5

        # get main login user
        config = FileUtils.open_file(__file__, "/config.json")
        self.user = config["sbis_login_info"][0]
Пример #2
0
    def __init__(self):
        self.driver = SeleniumUtils.getChromedriver(__file__)

        self.applyCount = 0
        self.IPO_REQ_BUTTON_SELECTOR = "a[name] + table .fl01 a img[alt='申込']"

        # all member login info
        config = FileUtils.open_file(__file__, "/config.json")

        self.login_info_list = config["sbis_login_info"]
Пример #3
0
    def __init__(self):
        self.driver = SeleniumUtils.getChromedriver(__file__)
        self.verificationErrors = []

        # target month setting
        if len(sys.argv) > 2:
            warn_mes = "Sample:\n  python3 sbi_monthly.py [write his memo month]"
            print(warn_mes)
            sys.exit()

        param_han_month = None
        if len(sys.argv) == 2:
            param_han_month = sys.argv[1]
        han_month = str(datetime.datetime.today().month + 1)
        self.month = mojimoji.han_to_zen(
            han_month if param_han_month is None else param_han_month)

        # all member login info
        config = FileUtils.open_file(__file__, "/config.json")
        # "sbib_login_info":{"uid": "user_id", "upa": "user_pass", "uspa": "user_tra_pass"},
        sbib = config["sbib"]
        self.login_info = sbib["sbib_login_info"]
        self.move_money_info = sbib["move_money_info"]
Пример #4
0
 def __read_init_conf():
     iniConf = {}
     iniConf["config"] = FileUtils.open_file(__file__, "/config.json")
     return iniConf
Пример #5
0
 def __init__(self):
     self.driver = SeleniumUtils.getChromedriver(__file__)
     config = FileUtils.open_file(__file__, "/config.json")
     self.user = config["gmo"]
     self.gc = GSpSheetUtils.getGoogleCred(__file__, 'mypro_sec.json')