This commit is contained in:
2026-05-19 17:38:23 +02:00
parent 99426c2050
commit efbd3bdd8a

View File

@@ -66,10 +66,10 @@ pipeline {
# ── playwright-stealth version check ───────────────
pip show playwright-stealth | grep -E "^(Name|Version)"
python3 -c "
try:
try:
from playwright_stealth import stealth_sync
print('playwright_stealth OK (v1.x - stealth_sync)')
except ImportError:
except ImportError:
from playwright_stealth import Stealth
print('playwright_stealth OK (v2.x - Stealth class)')
"
@@ -116,12 +116,13 @@ pipeline {
)
]) {
sh '''
set -euxo pipefail
set -e
# Inject the secret cookies file into the workspace
cp "$TIKTOK_COOKIES_FILE" tiktok_cookies.json
"${VENV_DIR}/bin/python" tiktok2bsky.py \
. venv/bin/activate
python3 tiktok2bsky.py \
--tiktok-handle "$TIKTOK_JIJANTESFC_HANDLE" \
--bsky-handle "$BSKY_JIJANTESFC_HANDLE" \
--bsky-app-password "$BSKY_JIJANTESFC_APP_PASSWORD" \