summaryrefslogtreecommitdiff
path: root/src/portal/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-10-21 19:22:50 -0400
committerAndrew Opalach <andrew@akon.city> 2024-10-21 19:22:50 -0400
commit60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2 (patch)
tree08ff2ce7975f523112e7ad2fe4f797b4fc7db5de /src/portal/scripts
parent2f9a0945bfeee3296cec3d38d094e4c49f9cb65f (diff)
downloadcamu-60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2.tar.gz
camu-60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2.tar.bz2
camu-60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2.zip
Everything before initial synced list
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/portal/scripts')
-rwxr-xr-xsrc/portal/scripts/create_vendor.sh16
-rwxr-xr-xsrc/portal/scripts/run_py.sh3
2 files changed, 16 insertions, 3 deletions
diff --git a/src/portal/scripts/create_vendor.sh b/src/portal/scripts/create_vendor.sh
index f4d551e..6fdf9e0 100755
--- a/src/portal/scripts/create_vendor.sh
+++ b/src/portal/scripts/create_vendor.sh
@@ -4,7 +4,7 @@ python3 -m venv ./venv
source ./venv/bin/activate
cd vendor/
-rm -r vendor/
+rm -rf vendor/
pip3 install -r ../requirements.txt --upgrade --target=./vendor
@@ -12,7 +12,11 @@ cd yt-dlp/
pip3 install . --upgrade --target=../vendor
cd ../
-cd snscrape/
+#cd snscrape/
+#pip3 install . --upgrade --target=../vendor
+#cd ../
+
+cd twitter-api-client/
pip3 install . --upgrade --target=../vendor
cd ../
@@ -24,5 +28,13 @@ cd instagrapi/
pip3 install . --upgrade --target=../vendor
cd ../
+cd CyberDropDownloader/
+pip3 install . --upgrade --target=../vendor
+cd ../
+
+#cd gallery-dl/
+#pip3 install . --upgrade --target=../vendor
+#cd ../
+
cd ../
rm -r venv
diff --git a/src/portal/scripts/run_py.sh b/src/portal/scripts/run_py.sh
index ddbe869..4414f93 100755
--- a/src/portal/scripts/run_py.sh
+++ b/src/portal/scripts/run_py.sh
@@ -1,4 +1,5 @@
#! /usr/bin/env sh
+export CURL_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt
export PYTHONDONTWRITEBYTECODE=1
export PYTHONPATH=$HOME/c/camu/src/portal/vendor/vendor
-python3 $@
+$@