refactor: remove unsused sentiment analysis

This commit is contained in:
martin legrand
2025-06-01 16:40:53 +02:00
parent be1bfc5cf2
commit 9f0fdd547e
2 changed files with 3 additions and 43 deletions
-2
View File
@@ -137,8 +137,6 @@ def create_driver(headless=False, stealth_mode=True, crx_path="./crx/nopecha.crx
user_agent = get_random_user_agent()
width, height = (1920, 1080)
user_data_dir = tempfile.mkdtemp(prefix="chrome_profile_")
import os
print(f"Running as UID: {os.getuid()}") # Will show 0 if root
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument('--disable-dev-shm-usage')
profile_dir = f"/tmp/chrome_profile_{uuid.uuid4().hex[:8]}"