Giter VIP home page Giter VIP logo

jus-crawler-challenge's Introduction

Web Crawler Challenge

Run Tests

Web Crawler that crawls/scrapes machine information at Vultr and Hostgator.

This project is the result of a technical challenge described in this document.

Pre-configuration

Ensure you have Python installed on your machine. If you can run the following command without problems, it means that your machine already has python installed and will show you the python version it is using.

python3 --version

Python 3.10 was used for development, and it is recommended that you use this version or a newer one.

It´s also recommended to have a specific virtualenv for this project. You can create your virtual environment using the tool of your choice or create one by running:

python3 -m venv .venv

and then activating it

source .venv/bin/activate # macos or linux

Run Locally

Follow the step by step to configure the project locally:

Clone the project

git clone https://github.com/luandadantas/jus-crawler-challenge.git

Go to the project directory

cd jus-crawler-challenge

Install dependencies. Be sure to activate your virtualenv before giving this command

pip install -r requirements.txt

Run the project

python main.py

If you just want to print Vultr or Hostgator individually, run each script separately using

python scrape/hostgator.py

or

python scrape/vultr.py

Running Tests

To run tests, run the following command

  python -m pytest tests/ --disable-socket -vv

Roadmap

  • Scrape data and collect content from Vultr
  • Write/Print on screen the data collected from Vultr
  • Previous step + save content from Vultr website in JSON file
  • Previous step + save content from Vultr website in CSV file
  • Create all previous steps for Hostgator website.
  • Improve/Move Vultr and Hostgator to class objects.

Feedback

If you have any feedback, please reach out at [email protected]

jus-crawler-challenge's People

Contributors

luandadantas 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.