|
50 | 50 | } |
51 | 51 | cookies_dict = {"li_at": li_at, "JSESSIONID": JSESSIONID} |
52 | 52 |
|
| 53 | +def print_logo(): |
| 54 | + print("""\ |
| 55 | +
|
| 56 | + ██▓ ██▓ ███▄ █ ██ ▄█▀▓█████ ▓█████▄ ██▓ ███▄ █ ▓█████▄ █ ██ ███▄ ▄███▓ ██▓███ ▓█████ ██▀███ |
| 57 | +▓██▒ ▓██▒ ██ ▀█ █ ██▄█▒ ▓█ ▀ ▒██▀ ██▌▓██▒ ██ ▀█ █ ▒██▀ ██▌ ██ ▓██▒▓██▒▀█▀ ██▒▓██░ ██▒▓█ ▀ ▓██ ▒ ██▒ |
| 58 | +▒██░ ▒██▒▓██ ▀█ ██▒▓███▄░ ▒███ ░██ █▌▒██▒▓██ ▀█ ██▒░██ █▌▓██ ▒██░▓██ ▓██░▓██░ ██▓▒▒███ ▓██ ░▄█ ▒ |
| 59 | +▒██░ ░██░▓██▒ ▐▌██▒▓██ █▄ ▒▓█ ▄ ░▓█▄ ▌░██░▓██▒ ▐▌██▒░▓█▄ ▌▓▓█ ░██░▒██ ▒██ ▒██▄█▓▒ ▒▒▓█ ▄ ▒██▀▀█▄ |
| 60 | +░██████▒░██░▒██░ ▓██░▒██▒ █▄░▒████▒░▒████▓ ░██░▒██░ ▓██░░▒████▓ ▒▒█████▓ ▒██▒ ░██▒▒██▒ ░ ░░▒████▒░██▓ ▒██▒ |
| 61 | +░ ▒░▓ ░░▓ ░ ▒░ ▒ ▒ ▒ ▒▒ ▓▒░░ ▒░ ░ ▒▒▓ ▒ ░▓ ░ ▒░ ▒ ▒ ▒▒▓ ▒ ░▒▓▒ ▒ ▒ ░ ▒░ ░ ░▒▓▒░ ░ ░░░ ▒░ ░░ ▒▓ ░▒▓░ |
| 62 | +░ ░ ▒ ░ ▒ ░░ ░░ ░ ▒░░ ░▒ ▒░ ░ ░ ░ ░ ▒ ▒ ▒ ░░ ░░ ░ ▒░ ░ ▒ ▒ ░░▒░ ░ ░ ░ ░ ░░▒ ░ ░ ░ ░ ░▒ ░ ▒░ |
| 63 | + ░ ░ ▒ ░ ░ ░ ░ ░ ░░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░░░ ░ ░ ░ ░ ░░ ░ ░░ ░ |
| 64 | + ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ |
| 65 | + ░ ░ ░ by LRVT |
| 66 | + """) |
| 67 | + |
53 | 68 | def clean_data(data): |
54 | 69 | emoj = re.compile("[\U0001F600-\U0001F64F\U0001F300-\U0001F5FF" |
55 | 70 | "\U0001F680-\U0001F6FF\U0001F1E0-\U0001F1FF" |
@@ -137,8 +152,18 @@ def main(): |
137 | 152 | required_pagings = -(-paging_total // 10) |
138 | 153 |
|
139 | 154 | employee_dict = [] |
| 155 | + |
| 156 | + print_logo() |
| 157 | + |
| 158 | + print("[i] Company Name: " + company) |
| 159 | + print("[i] Company X-ID: " + company_id) |
| 160 | + print("[i] LN Employees: " + str(paging_total) + " employees found") |
| 161 | + print("[i] Dumping Date: " + datetime.now().strftime("%d/%m/%Y %H:%M:%S")) |
| 162 | + if mailformat: |
| 163 | + print("[i] Email Format: " + mailformat) |
| 164 | + |
140 | 165 | if args.output_csv or args.output_json: |
141 | | - print() |
| 166 | + print() |
142 | 167 | for page in progressbar(range(required_pagings), "Progress: ", 40): |
143 | 168 | if args.jitter: |
144 | 169 | time.sleep(random.choice([0.5, 1, 0.8, 0.3, 3, 1.5, 5])) |
@@ -184,6 +209,8 @@ def main(): |
184 | 209 | output_data = { |
185 | 210 | "company_id": company_id, |
186 | 211 | "company_url": url, |
| 212 | + "company_slug": company, |
| 213 | + "timestamp": datetime.now().isoformat(), |
187 | 214 | "employees": employee_dict |
188 | 215 | } |
189 | 216 | with open(args.output_json, 'w', encoding='utf-8') as f: |
|
0 commit comments