Listify/Lambdas/Scraping/buildKohlsZip.sh
NMerz ee04a06e0e Chaining, retries, and general scraping durability
Make the scraping infrastructure more durable since the scraping service often fails to deliver
2020-11-01 11:30:03 -05:00

10 lines
273 B
Bash

#!/bin/bash
#Currently to be run only from the Scraping directory
rm artifacts/kohlsScraper.zip
OLDPWD=$(pwd)
cd build/
zip -r9 ${OLDPWD}/artifacts/kohlsScraper.zip .
cd ${OLDPWD}
zip -r9 artifacts/kohlsScraper.zip *.json
zip -r9 artifacts/kohlsScraper.zip KohlsScraper.py