diff --git a/HTS_Alert.py b/HTS_Alert.py index fac6086..7139180 100644 --- a/HTS_Alert.py +++ b/HTS_Alert.py @@ -41,6 +41,9 @@ class HTS_Alert : if __name__ == "__main__": hTS_Alert = HTS_Alert() - post = hTS_Alert.checkPrice('252670') + week = datetime.today().weekday() + if week in (0, 1, 2, 3, 4): # 0:월, 1:화, 2:수, 3:목, 4:금, 5:토, 6:일 + + post = hTS_Alert.checkPrice('252670') print ("done...") \ No newline at end of file