From 09657aad4fbacae93c9d12e9308a8f3dd431c927 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 31 May 2023 18:45:16 +0900 Subject: [PATCH] =?UTF-8?q?rkuji=E3=82=92=E5=91=BC=E3=81=B3=E5=87=BA?= =?UTF-8?q?=E3=81=97=20=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 6c65792..8dd098e 100644 --- a/app/main.py +++ b/app/main.py @@ -7,6 +7,8 @@ from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.keys import Keys import time,os +import r_kuji + # 変数初期化 ******************************************************************** profile_dir = "/tmp/profile" username = os.environ["RAKUTENID"] @@ -122,4 +124,8 @@ def main(): if __name__ == '__main__': time.sleep(60) # selniumコンテナの起動を待つ待機 - main() \ No newline at end of file + main() + try: + r_kuji.rkuji() + except: + print("rkuji 失敗") \ No newline at end of file