Git Product home page Git Product logo

arachnida's Introduction

Arachnida

Language License Version Status

Arachnida is an École 42 project from the CyberSecurity Piscine.

The goal of this project is to complete two exercises:

  • Spider: A simple web crawler that will extract images from a website.
  • Scorpion: A tool for handling image metadata.

Installation

From Source

Arachnida is not yet available on PyPI, but you can install it from source by following the instructions below:

  1. Clone the repository:

    git clone https://github.com/vinicius507/arachnida.git
  2. cd into the project directory:

    cd arachnida
  3. Install using pip:

    pip install .

Usage

Spider

The spider command is used to extract images from given URLs. The images are saved to the data directory by default.

The following options are available:

usage: spider [-h] [-e EXTENSIONS] [-p PATH] [-r] [-l LIMIT] urls [urls ...]

Extracts images from a given URL.

positional arguments:
  urls                  The URL to extract images from

options:
  -h, --help            show this help message and exit
  -e EXTENSIONS, --extensions EXTENSIONS
                        Comma separated list of image extensions to download (default: None)
  -p PATH, --path PATH  The path to save the images (default: ./data)
  -r, --recursive       Recursively searches URLs for images (default: False)
  -l LIMIT, --limit LIMIT
                        The maximum depth level of the recursive image search (default: 5)

Scorpion

The scorpion command is used to handle image metadata. The following options are available:

usage: scorpion [-h] files [files ...]

Handle images metadata with ease.

positional arguments:
  files       Image files to handle.

options:
  -h, --help  show this help message and exit

arachnida's People

Contributors

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