Ram-lankada / LinkedInBot

Automatically makes connections & accepts all invites
MIT License
1 stars 0 forks source link
automation-selenium javascript python3 selenium-webdriver

LinkedInBot


LinkedInBot enables you to automatically connect to people being employed at multiple MNCs based on topic search, and accepts all the Connection invitations you've received. Written both in JavaScript & Python

Demonstration

https://www.linkedin.com/posts/ram-ganesh-1b2189208_linkedinautomation-linkedinbot-connections-activity-7124272181374590976-uMtp?utm_source=share&utm_medium=member_desktop

Disclaimer

As per my findings a user can have at max of 100 connections and 250 actions per week on LinkedIn. And you may get banned if you've exceeded them.

And i've programmed explicit time waits to let the page completely before any performing any action. You can change those time waits in the code, if you want the process to be faster.

How to run

  1. Fork this repo --> Clone --> cd into the folder
  2. Install chrome driver onto your system
  3. Run 'npm install'
  4. Conda environment setup
    conda create -n bot python=3.12.0
    conda activate bot
    pip install -r requirements.txt

    Chrome Driver installation

  5. Download chrome driver from below link
    https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/119.0.6045.105/win64/chromedriver-win64.zip
  6. Paste the extracted folder in your C Drive

Chrome Driver path

Linux users
Find for executable_path in connect.py file and paste the below executable_path w.r.t your OS.

executable_path='/usr/bin/chromedriver'

windows users
You need to install chrome Driver and paste the chrome driver path in executable_path

executable_path='/path/to/your/chromedriver/chromedriver.exe'

Connections Bot

Python
Syntax :

python3 connect.py topic1 topic2 topic3 option

Options :

Command :

python3 connect.py Google Amazon Zoho 0

JavaScript
Syntax :

node connect.js topic1 topic2 topic3 

Command

node connect.js Google Amazon Zoho

Invitations accepting Bot

Python
Command :

python3 accept.py

JavaScript
Command :

node acceptInvite.js