From bcbc6db66013f7513bb411689900e5e1527c2de8 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Mon, 16 Mar 2020 22:34:14 -0400 Subject: [PATCH] Update NY path --- fetch-case-count-usa-ny | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fetch-case-count-usa-ny b/fetch-case-count-usa-ny index b3bd251..4c363ee 100755 --- a/fetch-case-count-usa-ny +++ b/fetch-case-count-usa-ny @@ -51,7 +51,11 @@ curl 'https://health.ny.gov/diseases/communicable/coronavirus/' \ | hxpipe \ | awk -v location="$location" ' BEGIN { - target_path = "/html/body/div/div/div/div/div/div/table/tr/td" + # 2020-03-16 morning-afternoon + #target_path = "/html/body/div/div/div/div/div/div/table/tr/td" + + # 2020-03-16 late evening 22:30 + target_path = "/html/body/div/div/div/div/div/div/tr/td" } /^[\(\)]/ { -- 2.20.1