From 4c4e79dcaccf2787f23b5b95f571d8a3e0784229 Mon Sep 17 00:00:00 2001 From: SoClose <33631880+SoClosee@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:38:24 +0100 Subject: [PATCH] fix(legacy/LinkedinScrapper.py): replace hardcoded LinkedIn credentials with environment variables --- legacy/LinkedinScrapper.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/legacy/LinkedinScrapper.py b/legacy/LinkedinScrapper.py index 958316d..5ad4b58 100644 --- a/legacy/LinkedinScrapper.py +++ b/legacy/LinkedinScrapper.py @@ -25,9 +25,11 @@ from os.path import dirname, join -username = input('Enter your linkedin Email : ') -password = input('Enter your linkedin Password : ') -file_name = input('Enter your file name : ') +import os + +username = os.getenv('LINKEDIN_USERNAME') +password = os.getenv('LINKEDIN_PASSWORD') +file_name = os.getenv('FILE_NAME') # username = ''