Skip to content

matigumma/linkedin-scrapper-bot

 
 

Repository files navigation

linkedin scrapper bot

The goal of this project is to make a bot that greets new users and catalogs them into the Lautidev discord server by scraping data from the linkedin accounts of new users.

Principles

Any server user can participate in the development of this bot. From taking out features to solving bugs. It is a community server for the community.

How to participate?

First, to participate you must be part of the community of discord

Collaborate with code

If you wish to contribute code, please:

  • Review the open issues or create a new one explaining the improvement or bug to fix.

  • Make a fork of the repository.

  • Create a new branch for your feature or bug fix.

  • Write and test your code.

  • Make sure to follow the existing code style guidelines.

  • Send a Pull Request to the develop branch with a detailed description of the proposed changes and reference the related issue.

Contribute ideas, bugs or feedback

If you have an idea, find a bug or want to give feedback on the project:

  • Open a new issue in the repository describing your idea, the bug you found or the feedback you want to share.
  • Be as detailed as possible in the description.
  • If possible, include screenshots or any other resource that can help to better understand your point.

Complete the .env file

  • TOKEN: to obtain it we must create a bot by logging on to https://discord.com/developers/applications. After having created it we go to the "Bot" section > generate token.
  • COOKIE: with LI cookie value. Get from here: https://www.youtube.com/watch?v=H8BVdAIyFJM
  • GUILD_ID: we must enter the browser and create our server in the Discord account we will use, then copy the first set of numbers after /channels
  • CLIENT_ID: we go to our Bot configuration > "OAuth2" section > General > Client ID > Copy

After completing the data, change the name from .default.env to .env.

How to run

  • Complete env file.
  • Run node register-commands.js only once.
  • Run node ./src/index.js

After obtaining the correct registration

  • Invite the bot to the channel with this link: https://discord.com/api/oauth2/authorize?client_id=CLIENT_ID&permissions=0&scope=bot%20applications.commands
  • Copy the CLIENT_ID you have in the .env file previously completed.
  • Type /perfil url url is the link to the desired LI profile, within the server where the bot is located: ex.: https://www.linkedin.com/in/matias-gumma/

About

Scrapper bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.0%
  • JavaScript 8.0%