Skip to content

Jobs Scraper: Streamline job searching by scraping and storing job postings from various websites ina SQLite3 database using this Go application.

License

Notifications You must be signed in to change notification settings

Pavel401/JobsScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Jobs Scraper

All Contributors

Screenshot 2024-01-31 at 3 55 51β€―PM

Table of Contents

Introduction

The Jobs Scraper is a powerful Go application designed for scraping job postings from a variety of websites and storing them in an SQLite database. Additionally, it offers endpoints for retrieving and synchronizing job postings, making it a valuable tool for job seekers and developers alike.

Mobile App

Repo: https://github.com/Pavel401/JobScraper-Mobile

Prerequisites

Before getting started with the Jobs Scraper, please ensure you have the following prerequisites installed:

How to setup

To run the application, you have to create a .env file. To configure you can set environment variables in the file. For example:

SYNC_WITH_SQL_PASSWORD=password
go run main.go

Endpoints

The Jobs Scraper package provides a set of powerful endpoints for scraping, managing, and synchronizing job postings. Here's a brief overview of the available endpoints:

  • /atlassian, /amazon, /coursera, /freshworks, /gojek, /mpl: Scrapes job postings from specific websites.
  • /syncwithSql: Synchronizes job postings with a SQL database.
  • /getallJobsFromSQL: Retrieves job postings from a SQL database.
  • /: Serves an HTML file (static/base.html).

Contributing

Contributions to this project are highly encouraged! If you have ideas for improvements or come across any issues, please don't hesitate to open an issue or submit a pull request on the GitHub repository.

This documentation aims to simplify and guide the way beginners make their first contribution. If you are looking to make your first contribution, follow the steps below.

If you don't have git on your machine install it.

Fork this repository

Fork this repository by clicking on the fork button on the top of this page. This will create a copy of this repository in your account.

Open in Github Desktop

Click on the green icon indicating "code" and open your Github desktop.

Clone the repository

Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click on open with Github Desktop ot you can click on copy to clipboard icon if you want to use git bash.

Note: Further command are for Git bash users not for the Git Desktop Users

For Git Desktop users ---> Now just click on Open with VS code and start your contribution.

Example:

Commit Changes

After you have updated the files,click on 'Commit to main' and then click on push origin.

Example :

Now Come back to Github web and click on contribute to submit your changes for review.


Steps for Git Bash Users

Open a terminal and run the following git command:

git clone "url you just copied"

where "url you just copied" (without the quotation marks) is the url to this repository (your fork of this project). See the previous steps to obtain the url.

For example:

git clone https://github.com/this-is-you/fossc.git

Here you're copying the contents of the first-contributions repository on GitHub to your computer.

Create a branch

Change to the repository directory on your computer (if you are not already there):

cd desktop

Now create a branch using the git checkout command:

git checkout -b <your-new-branch-name>

For example:

git checkout -b add-new-file

(The name of the branch does not need to have the word add in it, but it's a reasonable thing to include because the purpose of this branch is to add your name to a list.)

Make necessary changes and commit those changes

Now open add or edit file in a text editor. Add code for any existing algorithm in other language or add some new algorithms. Make sure to update correspond README.md file if needed. Now, save the file.

If you go to the project directory and execute the command git status, you'll see there are changes.

Add those changes to the branch you just created using the git add command:

git add "name of the file you add or edit"

Now commit those changes using the git commit command:

git commit -m "Add message for the change"

Push changes to GitHub

Push your changes using the command git push:

git push origin <add-your-branch-name>

replacing <add-your-branch-name> with the name of the branch you created earlier.

Submit your changes for review

If you go to your repository on GitHub, you'll see a Contribute button. Click on that button.

click on Open pull request.

click on Create pull request.

click on Create pull request.

Where to go from here?

Congrats! You just completed the standard fork -> clone -> edit -> pull request workflow that you'll encounter often as a contributor!

Contributors

All Contributors

Thanks goes to these wonderful people (emoji key):

Mabud Alam
Mabud Alam

πŸ’» 🎨 πŸ› 🚧 πŸ‘€
Debayan Ghosh
Debayan Ghosh

πŸ’»
Abhishek Parmar
Abhishek Parmar

πŸ“– 🎨 πŸ€”
Pinak Dhir
Pinak Dhir

πŸ“–
Tholkappiar M
Tholkappiar M

πŸ’»
Hemant Chaudhary
Hemant Chaudhary

πŸ’»
Abhinesh
Abhinesh

πŸ’»
Harmeet Singh
Harmeet Singh

πŸ’» πŸ”Œ πŸ›‘οΈ
Prapti Sharma
Prapti Sharma

πŸ’»

License

This project is licensed under the [GPL-3.0 license] License - see the LICENSE file for details.

About

Jobs Scraper: Streamline job searching by scraping and storing job postings from various websites ina SQLite3 database using this Go application.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published