Giter Club home page Giter Club logo

web-crawler-v2-search-stats's Introduction

Web-Crawler-V2-Search-Stats

My web crawler remade in 2018, with a few new additional features.

Information

In 2016 I made a basic web crawler, found here , I now remade this to be more efficent and have a few more features, listed below with some more information.

Features

  • Map All Connected Pages from any source page.
  • Basic search feature for a keyword, enter a keyword and will show all relevant page(s) that have been found and cached.
  • Smart page caching, stores all readable words from a html page and saves them in a text file, the link is then stored in the file name and base58 encoded so that URLs can always be saved.
  • Quick Statistics, option to in the background quite simply view statistics, such as time used, data used (estimated) and links processed.
  • Constant saving so if it exits at anytime it will be able to be quickly restarted.

Prequisites

Cache Folder

Make a directory/folder and call it cache, this will store all html data saved and be used for searching, without this it will not be able to place new files there.

Beautiful Soup

pip3 install BeautifulSoup4

Base58

pip3 install Base58

Glob

pip3 install glob

Files & Directories Explination

/json/

Stores JSON Files.

/cache/

Cached html files after they have been downloaded, used for searching, the file names are base58 encoded for the full urls.

links.json

Example Format

{ "processed": { "0": "http://filler.com/" }, "todo": { "0": "http://www.bbc.co.uk/news" } }

Saves all links that have been done so they won't be done again, and the queue of links to be processed.

links.json

Example Format

{ "data": 0, "processed": 0, "time": 0 }

Saves all data related permanent statistics.

Future Plans

  • Directory Tree Mapping, possibly with matplotlib
  • Graphing Resource Usage
  • Links Found
  • Stats on interconnected links
  • Improving the search by listing off more options

web-crawler-v2-search-stats's People

Contributors

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