diff --git a/HTS_Alert.py b/HTS_Alert.py index 3584634..fac6086 100644 --- a/HTS_Alert.py +++ b/HTS_Alert.py @@ -18,7 +18,7 @@ class HTS_Alert : THIS_TIME = datetime.now() today = datetime.today().strftime('%Y%m%d') - while datetime.strptime(today + " 090000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'): + while datetime.strptime(today + " 080000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'): url = 'https://finance.naver.com/item/main.naver?code={code}'.format(code=code.strip()) res = requests.get(url)