GithubHelp home page GithubHelp logo

aniruddha200 / search-index Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 1.83 MB

It is web crawler which scarp the webpages of a website and rank and visualize the top pages.

License: Other

Python 98.88% CSS 0.03% HTML 0.21% JavaScript 0.88%

search-index's Introduction

Simple Python Search Spider, Page Ranker, and Visualizer

This is a set of programs that emulate some of the functions of a 
search engine such as rank pages and visualize the top pages. 

########Instructions########

1.Clone/Download all the files.

4.Now open PowerShell/Terminal/CommandPromt based on your OS, and open the directory where all of those are.

5.Now for Terminal run this command "python3 exe.py", For PowerShell run this "python exe.py", // fileName.py are as follows:
	
	> spider.py
		$It will ask for a URL and pages to crawl and no. pages as your requirement, it is restartable.
	
	>sprank.py
		$I suggest run this file for atleast 50 times, It will ask for no. of iteration.

	>spdump.py
		$It will ask for whether you want to run it or not, Press 0 if yes or press anything if no, If it runs properly and if brunch of info is 		showing, then everything is going smoothly.

	>spjson.py
		$For visualization purpose it will ask no. ranks/ no. top pages. After execute successfully it will ask to open 'force.html'.

6. A force.html from Terminal will automatically open to view the results of top pages and how they connected to each other (no. of inbound and outbound links).

########Instructions########

search-index's People

Contributors

aniruddha200 avatar

Stargazers

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