cpi update chrome version update v6

master
joey0629 1 year ago
parent 15f6773e1e
commit 1b74b4991a
  1. 15
      main.py

@ -306,19 +306,16 @@ if __name__ == "__main__":
fomc_url = "https://www.federalreserve.gov/newsevents/pressreleases/monetary" fomc_url = "https://www.federalreserve.gov/newsevents/pressreleases/monetary"
pce_url = "https://www.bea.gov/news/2024/personal-income-and-outlays-"#january-2024 pce_url = "https://www.bea.gov/news/2024/personal-income-and-outlays-"#january-2024
# broadcast_all_pce("February", "february-2024") # broadcast_all_pce("February", "february-2024")
# print("Start Time:" , datetime.fromtimestamp(time.time())) print("Start Time:" , datetime.fromtimestamp(time.time()))
# schedule.every().day.at("18:39").do(broadcast_all_cpi, "FEBRUARY") schedule.every().day.at("19:47").do(broadcast_all_cpi, "FEBRUARY")
# while True: while True:
# if datetime.now().strftime("%Y-%m-%d %H:%M") == "2024-04-10 18:39": if datetime.now().strftime("%Y-%m-%d %H:%M") == "2024-04-10 19:47":
# schedule.run_pending() schedule.run_pending()
# time.sleep(0.1) # Check every 0.1 seconds time.sleep(0.1) # Check every 0.1 seconds
#NonFarm #NonFarm
# text = download_pdf_nonfarm() # text = download_pdf_nonfarm()
# read_nonfarm(url) # read_nonfarm(url)
# print(text) # print(text)
#CPI #CPI
date , value = find_cpi(cpi_url)
print(date)
print(value)
# broadcast_all_cpi("FEBRUARY") # broadcast_all_cpi("FEBRUARY")

Loading…
Cancel
Save