Giter Club home page Giter Club logo

linkedin-job-scraping-bot's Introduction

LinkedIn-Job-Scraping-bot

In 2022, while looking for my first Data Analyst job after graduation, I have to painfully perform a daily mediocre task of scrolling through every single Data Analyst posting on LinkedIn, Glassdoor, Indeed, etc. It was that moment that I stumbled upon the idea of creating a Web Scraping bot to do all the manual work.

Tools

I used Python particularly the following tidyverse packages: pandas, numpy, selenium, gspread, gspread-dataframe, google, pydrive. I also install the latest Chromedriver to use Selenium: https://chromedriver.chromium.org/downloads

In addition, I need to create an API on Google Cloud Service to allow the bots to access the Google Sheet page: https://console.cloud.google.com/apis . In case you don't want to write the data to google sheet component, this part is unneccesasry. Instead

The environment is Jupyter Lab.

Procedure

The overall process should be something like this:

  1. Using Selenium package, the bot would access this link: https://ca.linkedin.com/jobs/search?keywords=Data%20Analyst&location=Canada&locationId=&geoId=101174742&f_TPR=r86400&position=1&pageNum=0 (this link shows all the Data Analyst postings in Canada on LinkedIn within the latest 24 hour (for those looking for other position you can use different links!)

  2. The bot would loop through every single record, find relevant elements, and retrieve these data into table format.

WebP image with fallback

  1. The data will be written on to a google sheet file, which is live connected to Tableau Public dashboard that automatically update on any change of the data. https://public.tableau.com/app/profile/hoang.pham3135/viz/LinkedInDataAnalystJobScraping/DATAANALYSTJOBPOSTINGSINCANADA

  2. Finally, with Window Task Scheduler, the Python bot will automatically run daily (as a batch file) at a specific time. This will automate the whole process (almost).

Side Note:

To replicate the boss you will need to lookup and install the most update ChromeDriver version and other python packages, as they keep releasing newer versions.

Directory

linkedin-job-scraping-bot's People

Contributors

hoangp27 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.