Code Monkey home page Code Monkey logo

scrap-up-work-com's Introduction

๐Ÿ•ต๐Ÿผโ€โ™‚๏ธ Scrapping upwork.com

Login into the site upwork.com and catch some information.

GitHub followers

This scrapper/scanner logs into a Upwork account using selenium for the login process, catches all the jobs which are in the main page through a local file created with python and consumed with BeautifoulSoup. Then it navigates to the profile page with selenium, extracts certain information about the profile owner using BeautifoulSoup. Finally, I used pydantic to model the scrapped data and export it into a JSON file.

I also used mypy, flake8 and pytest for checks, linting and testing, besides of typer to facilitate easy and expandable interaction with the CLI.

Table of Contents

Getting Started

The next command will execute the process of scanner in the site upwork.com

python scan.py upwork

Prerequisites

1. Clone the Project

Execute the next command on your terminal

git clone https://github.com/Alfareiza/scrap-up-work-com.git

2. Isolate the environment

Once the repository has been cloned, a folder is created with the name of the project scrap-up-work-com.

Go toward this folder using the terminal :

cd scrap-up-work-com

Make sure you have python 3.11 installed and execute:

python -m venv .venv

Then to activate the isolated environment execute the next command according to your O.S

Windows Linux
.venv\Scripts\activate source .venv/bin/activate

Installation

All the dependencies and sub-dependencies will be installed on the local project.

pip install poetry
poetry install

Linting and Checks

Type checker.

mypy .

Linting tool for checking pep8 recommendations.

flake8 --exclude .venv --ignore=E501,F401

Tests

Execution of tests.

pytest  .

scrap-up-work-com's People

Contributors

alfareiza avatar

Watchers

 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.