Giter Club home page Giter Club logo

page-hunter's Introduction

Page-Hunter

About

A single threaded CLI application to search through page listings and return unique domain names

Runtime

Program intializes SQLite DB, begins a loop making requests(single threaded to reduce chance of rate limits and make them easier to add in), parse the resulting html body and extract URLS, add unique domains into the database.
On duplicate page data or a 4xx response code the program will end, outputting the termination reason into the console.

Usage

./main url=https://www.bing.com/search?q=kissu&first=#d db=kissu.db stride=10 start=0 max=-1
Will use the URL and replace #d with start going up by stride. When it hits max the program will terminate.
Case of start=-1: Will run infinitely adding to the SQLite database forever, or until the program reaches a terminating case(403, 404, duplicate page contents).
Defaults: stride=1, start=1, max=10
Required: url with a #d for pages , a db to be written to

Rust Dependencies

SQLite, Reqwest, Scraper, Url

page-hunter's People

Contributors

echibiki avatar

Watchers

James Cloos avatar  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.