Git Product home page Git Product logo

dora's Introduction

dora

A simple scraping CLI tool

Futures

  • Simple usage
  • Scraping with regular expression
  • Deep scraping option

Installation

  • git clone
  • poetry install

Usage

Scraping NVD (NATIONAL VULNERABILITY DATABASE) Last 20 Scored Vulnerability IDs & Summaries

% poetry run dora search "CVE-[0-9]{4}-[0-9]{4,12}" https://nvd.nist.gov/ | jq . 
[
  {
    "title": "\r\n\tNVD - Home\r\n",
    "url": "https://nvd.nist.gov/",
    "found_search_words": [
      "CVE-2018-0237",
      "CVE-2020-3505",
      "CVE-2020-5622",
      "CVE-2018-0239",
      "CVE-2020-20625",
      "CVE-2018-0324",
      "CVE-2020-24618",
      "CVE-2018-0267",
      "CVE-2018-0266",
      "CVE-2020-24706",
      "CVE-2020-7665",
      "CVE-2020-17465",
      "CVE-2020-13469",
      "CVE-2018-0288",
      "CVE-2018-0245",
      "CVE-2020-7666",
      "CVE-2018-0269",
      "CVE-2018-0278",
      "CVE-2018-0279",
      "CVE-2018-0228"
    ]
  }
]

Help

% poetry run dora search --help

NAME
    dora search - scraping by search_word(regular expression)

SYNOPSIS
    dora search SEARCH_WORD BASE_URL <flags>

DESCRIPTION
    scraping by search_word(regular expression)

POSITIONAL ARGUMENTS
    SEARCH_WORD
    BASE_URL

FLAGS
    --depth_limit=DEPTH_LIMIT

NOTES
    You can also use flags syntax for POSITIONAL ARGUMENTS

dora's People

Contributors

s-index 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.