Giter Club home page Giter Club logo

search's Introduction

search

An Open Source Search Engine Completely written in PHP and uses the following PHP libraries :

  1. PHPCrawler (customized)

  2. SimpleHTMLDom

Called by the name "Web Search" (WS) and it has its own crawler named Dingo! which is also written in PHP. Crawler runs every minute and indexes upto 100 pages each minute. That's 6000 pages every hour !

See Stats : http://search.subinsb.com/about/stats.php

UPDATE (2020): The site is down because I can't affort to host one, you can see the archive site here : https://web.archive.org/web/20170930165254/http://search.subinsb.com/

SQL

This repo was made from this tutorial. SQL file can be found in Part 2

search's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

search's Issues

How to crawl more than 1 websites?

I really like your script and I am trying to let them crawling more than 1 websites. Is this possible? And do you plan to let user submit url? Thanks :)

Error while doing search.

Fatal error: Call to a member function prepare() on null in C:\xampp\htdocs\webcrawl\inc\functions.php on line 57

Server: Apache
OS: windows10
DB: mariaDB

strcut description

Hello.

If you have big description, then subins try to show them all. It should only reduce to few lines / signs

why i cant use it?

! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) in C:\wamp64\www\search\inc\config.php on line 19
( ! ) PDOException: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) in C:\wamp64\www\search\inc\config.php on line 19

Fatal error: Call to a member function rowCount() on boolean

@subins2000 I get a PHP error output after running $dir/crawler/bgCrawl.php:

Fatal error: Call to a member function rowCount() on boolean in $dir\crawler\crawl.php on line 95

Your code from line 92-102:

if(!isset($url4Array)){
 // Get the last indexed URLs (If there isn't, use default URL's) & start Crawling
 $last=$dbh->query("SELECT `url` FROM search");
 $count=$last->rowCount();
 if($count < 1){
  crawl("http://subinsb.com"); // The Default URL #1
 }else{
  $urls=$last->fetchAll();
  $index=rand(0, $count-1);
  crawl($urls[$index]['url']);
 }

How can I fix this error?

Crawler Doesn't seems to work

Hello, the crawler is supposed to add websites to the db I guess but I tryed to change everything that could make the crawler not work but in vain. Is it just too old?

NO DB

I love this but not seems to see the db file

Admin access

What is the info for access to the admin panel?

And I keep getting issues that my irk is not correct, where do I need too put those?

Looking for updated code

I there, ive been looking at your code and your website and wonder will you be updating the github to reflect the current code on your website ?

.SQL?

Hey,

Could you include the .sql? Also, it looks like the stats (And, thus, the engine) hasn't updated in a while?

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.