
पायथन 3 स्क्रिप्ट जो लिंक्डइन एपीआई से कंपनी के कर्मचारियों को डंप/स्क्रैप/एक्सट्रैक्ट करती है।
LinkedInDumper एक Python 3 स्क्रिप्ट है जो LinkedIn सोशल नेटवर्किंग प्लेटफ़ॉर्म से कर्मचारी डेटा डंप करती है।
परिणामों में firstname, lastname, position (title), location और उपयोगकर्ता का प्रोफ़ाइल लिंक शामिल होता है। यदि कंपनी में 10 से अधिक कर्मचारी नहीं हैं, तो सभी कर्मचारियों को प्राप्त करने के लिए केवल 2 API कॉल की आवश्यकता होती है। अन्यथा, हमें API परिणामों के माध्यम से पेजिनेट करना होता है। --email-format CLI फ़्लैग के साथ कोई एक Python स्ट्रिंग फ़ॉर्मेट परिभाषित कर सकता है ताकि प्राप्त first और last name के आधार पर ईमेल पते स्वतः उत्पन्न किए जा सकें।
LinkedInDumper अनौपचारिक LinkedIn Voyager API से बात करता है, जिसके लिए प्रमाणीकरण आवश्यक है। इसलिए, आपके पास एक वैध LinkedIn उपयोगकर्ता खाता होना चाहिए। इसे सरल रखने के लिए, LinkedInDumper केवल आपके द्वारा प्रदान किए गए कुकी मान की अपेक्षा करता है। इस तरह करने से, 2FA-संरक्षित खाते भी समर्थित हैं। इसके अलावा, आपको कर्मचारियों को डंप करने के लिए एक LinkedIn कंपनी URL प्रदान करना होगा।
li_at सत्र कुकी मान को प्राप्त करें, उदाहरण के लिए डेवलपर टूल के माध्यम सेli_at में निर्दिष्ट करें, या रनटाइम के दौरान CLI फ़्लैग --cookie के माध्यम से अस्थायी रूप सेusage: linkedindumper.py [-h] --url <linkedin-url> [--cookie <cookie>] [--quiet] [--include-private-profiles] [--include-contact-infos] [--jitter] [--email-format <mail-format>] [--output-json <json-file>] [--output-csv <csv-file>]
options:
-h, --help show this help message and exit
--url <linkedin-url> A LinkedIn company url - https://www.linkedin.com/company/<company>
--cookie <cookie> LinkedIn 'li_at' session cookie
--include-private-profiles
Show private accounts too
--include-contact-infos
Query each employee individually and retrieve contact infos
--jitter Add a random jitter to HTTP requests to bypass rate limiting
--email-format <mail-format>
Python string format for emails; for example:
--email-format '{0}.{1}@example.com' --> [email protected]
--email-format '{0[0]}.{1}@example.com' --> [email protected]
--email-format '{1}@example.com' --> [email protected]
--email-format '{0}@example.com' --> [email protected]
--email-format '{0[0]}{1[0]}@example.com' --> [email protected]
--output-json <json-file>
Store results in json output file
--output-csv <csv-file>
Store results in csv output file
docker run --rm l4rm4nd/linkedindumper:latest --url 'https://www.linkedin.com/company/apple' --cookie '<cookie>' --email-format '{0}.{1}@apple.de'
# install dependencies
pip install -r requirements.txt
python3 linkedindumper.py --url 'https://www.linkedin.com/company/apple' --cookie '<cookie>' --email-format '{0}.{1}@apple.de'
स्क्रिप्ट कर्मचारी डेटा को अर्ध-विराम द्वारा अलग किए गए मानों (CSV की तरह) के रूप में लौटाएगी:
██▓ ██▓ ███▄ █ ██ ▄█▀▓█████ ▓█████▄ ██▓ ███▄ █ ▓█████▄ █ ██ ███▄ ▄███▓ ██▓███ ▓█████ ██▀███
▓██▒ ▓██▒ ██ ▀█ █ ██▄█▒ ▓█ ▀ ▒██▀ ██▌▓██▒ ██ ▀█ █ ▒██▀ ██▌ ██ ▓██▒▓██▒▀█▀ ██▒▓██░ ██▒▓█ ▀ ▓██ ▒ ██▒
▒██░ ▒██▒▓██ ▀█ ██▒▓███▄░ ▒███ ░██ █▌▒██▒▓██ ▀█ ██▒░██ █▌▓██ ▒██░▓██ ▓██░▓██░ ██▓▒▒███ ▓██ ░▄█ ▒
▒██░ ░██░▓██▒ ▐▌██▒▓██ █▄ ▒▓█ ▄ ░▓█▄ ▌░██░▓██▒ ▐▌██▒░▓█▄ ▌▓▓█ ░██░▒██ ▒██ ▒██▄█▓▒ ▒▒▓█ ▄ ▒██▀▀█▄
░██████▒░██░▒██░ ▓██░▒██▒ █▄░▒████▒░▒████▓ ░██░▒██░ ▓██░░▒████▓ ▒▒█████▓ ▒██▒ ░██▒▒██▒ ░ ░░▒████▒░██▓ ▒██▒
░ ▒░▓ ░░▓ ░ ▒░ ▒ ▒ ▒ ▒▒ ▓▒░░ ▒░ ░ ▒▒▓ ▒ ░▓ ░ ▒░ ▒ ▒ ▒▒▓ ▒ ░▒▓▒ ▒ ▒ ░ ▒░ ░ ░▒▓▒░ ░ ░░░ ▒░ ░░ ▒▓ ░▒▓░
░ ░ ▒ ░ ▒ ░░ ░░ ░ ▒░░ ░▒ ▒░ ░ ░ ░ ░ ▒ ▒ ▒ ░░ ░░ ░ ▒░ ░ ▒ ▒ ░░▒░ ░ ░ ░ ░ ░░▒ ░ ░ ░ ░ ░▒ ░ ▒░
░ ░ ▒ ░ ░ ░ ░ ░ ░░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░░░ ░ ░ ░ ░ ░░ ░ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ by LRVT
[i] Company Name: apple
[i] Company X-ID: 162479
[i] LN Employees: 1000 employees found
[i] Dumping Date: 17/10/2022 13:55:06
[i] Email Format: {0}.{1}@apple.de
Firstname;Lastname;Email;Position;Gender;Location;Profile
Katrin;Honauer;[email protected];Software Engineer at Apple;N/A;Heidelberg;https://www.linkedin.com/in/katrin-honauer
Raymond;Chen;[email protected];Recruiting at Apple;N/A;Austin, Texas Metropolitan Area;https://www.linkedin.com/in/raytherecruiter
[i] Successfully crawled 2 unique apple employee(s). Hurray ^_-
वैकल्पिक रूप से, आप परिणामों को JSON या CSV के रूप में संग्रहीत करने के लिए CLI पैरामीटर --output-json और --output-csv का उपयोग कर सकते हैं।
LinkedIn संपर्क जानकारी एकत्र करते समय केवल पहले 1,000 खोज परिणामों को लौटाने की अनुमति देगा। आपको LinkedIn प्रीमियम खाते की भी आवश्यकता हो सकती है जब आप अपने फ्रीमियम LinkedIn खाते से प्रोफाइल विज़िट करने के लिए अधिकतम अनुमत क्वेरी तक पहुँच जाते हैं।