From 595a4c7eb8b9ec3ac038977d097dfc5fb14ab7f9 Mon Sep 17 00:00:00 2001 From: priyankamarabill Date: Fri, 24 Jan 2025 20:16:29 +0530 Subject: [PATCH] test3 --- scraper/scripts/bootstrap.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scraper/scripts/bootstrap.sh b/scraper/scripts/bootstrap.sh index 0d83cba4..d53049d3 100755 --- a/scraper/scripts/bootstrap.sh +++ b/scraper/scripts/bootstrap.sh @@ -9,7 +9,8 @@ USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, # wget --no-verbose --timeout=30 "https://www.npci.org.in/what-we-do/nach/live-members/live-banks" --output-document=nach.html --user-agent="$USER_AGENT" # wget --no-verbose --timeout=30 "https://www.npci.org.in/what-we-do/upi/live-members" --output-document=upi.html --user-agent="$USER_AGENT" -if [[ $@ == *'--no-download'* ]]; then +# shellcheck disable=SC2007 +if [[ $[] == *'--no-download'* ]]; then echo "Skipping sheet download" else wget --timestamping --no-verbose --directory-prefix=sheets/ "https://rbidocs.rbi.org.in/rdocs/content/docs/68774.xlsx" --user-agent="$USER_AGENT" @@ -18,7 +19,7 @@ else echo "Sheet Download complete, starting export" fi -if [[ $@ == *'--no-convert'* ]]; then +if [[ $[] == *'--no-convert'* ]]; then echo "Skipping sheet conversion" else # Convert the NEFT and RTGS lists from RBI