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