Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
PriyankaMarbill committed Jan 24, 2025
1 parent 4478d11 commit 595a4c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper/scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 595a4c7

Please sign in to comment.