feat(diff): adding file management and diff to extract files

This commit is contained in:
devaine 2026-01-29 15:15:27 -06:00
commit 97c8331866
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
4 changed files with 86 additions and 7 deletions

32
webscrape-bank/run.sh Executable file
View file

@ -0,0 +1,32 @@
#!/bin/bash
PIP_PACKAGES=("python-dotenv" "pytest-playwright")
if [ "$1" == "del" ]; then
rm -rf .venv
echo ".venv/ removed, restart the program again"
fi
if [ -d .venv ]; then
echo ".venv/ found!"
source .venv/bin/activate
python src/main.py
else
echo ".venv/ not found!"
echo "Creating new venv/"
python -m venv .venv
source .venv/bin/activate
for i in "${PIP_PACKAGES[@]}"
do
pip install $i
done
playwright install
python src/main.py
fi